Translate

Thursday 26 June 2014

Why we can't create object to ABSTRACT & INTERFACE classes?

             We cannot create object for interface and abstract class. Because, it is possible that some methods are not implemented within interface or abstract class. In the case of an interface, non of the methods are implemented and an abstract class, abstract method cannot implemented.

Without a full implementation, how could we instantiate the class.

No comments:

Post a Comment