Tuesday, November 29, 2011

Core Java Interview Questions :Can there be an abstract class with no abstract methods in it?

Yes, there can be an abstract class without abstract methods.:no there cant be abstract class without abstract methods:Yes there can be an abstract class without an abstract method declared in it. But if there is even one method declared as abstract then this class must be declared as abstract.:Yes there can be a class which can be declared as ABSTRACT without any abstract methods. If any one method of class is declared as abstract then the class to which it belongs must be declared as abstract. There&

No comments:

Post a Comment