Tuesday, November 29, 2011

Core Java Interview Questions :Can we instantiate an abstract class?

An abstract class can never be instantiated. Its sole purpose is to be extended (subclassed).:No we can not instantiate an abstract class. Even though its sole purpose is to be extended & define the general behavior, its meaningless to instantiate a class whose methods do not have implementation(body) or little(half/very less generalized) implementation.

No comments:

Post a Comment