If DateFormat is an abstract class how is it instantiated with getInstance() method
As per my understanding the interface and abstract class can not be instantiated. Then how could the DateFormat abstract class be instantiated with static factoy method getInstance() ?
That's the whole point of a factory method. It returns an instance of DateFormat or of a subclass of DateFormat. You don't know which. You don't care which. You just care that all the methods of DateFormat are going to work.
Abstract Classes - A glitch in my program
How to implement IXmlSerializable correctly for a ICollection<T> where T is an abstract class?
Typescript multiple inheritance workarounds?
Class diagram usage in UML
AutoMapper and Base Types
Abstract Class Initialization
Covariant return types
Empty abstract function cannot contain body
Using Visitor Pattern to detect intersection between two shapes
mongodb lift class Snippet needs to be abstract
Abstract class as return of wcf ria method
OpenKinect - FreenectDevice abstract?
Intercepting method from abstract parent on derived instance using DynamicProxy
In an UML diagram, when should a class be abstract?
Abstract Class is a good practice?
Java - Using Abstract classes properly (problem with COLT)