i knew that the abstract class must have at least one abstract method.
but today accidentally my conception proved as wrong.
that without having any abstract method the class can be abstract.
why it is valid.....is there any logic?????
plz explain me ....
kind regards.
Abstract classes don't need to have any abstract methods at all. Simply marking
the class as abstract is enough. The class can not be instantiated then, i.e. it
needs to be sub-classed (extended) by a concrete (not abstract) class.
Note that abstract classes can not be marked final too, i.e at most one of those
classifiers is allowed: either concrete (and possibly final) or abstract.
kind regards,
Jos