Saturday, 15 January 2011

How does an Abstract Subclass work in Java? -


Can we have a solid superclass and then an abstract sub-class? Does anybody please tell how this works?

Thanks

It is already everywhere because all classes are directly or Indirectly received object . So for example, synchronization is an abstract class that comes from the concrete square object .

There is nothing particularly special about this, concrete subclasses of abstract class still have to implement abstract methods.

No comments:

Post a Comment