Ooops... Yes, a class can be declared abstract even without an abstract method.
This is done when default methods are provided, but it is expected that some/all
methods will be overridden before the class is instantiated with new.
Jim ... ...
expected that some/all methods will be overridden before the class is instantiated with new.
sorry, need to correct your sentence a little bit ... it sounds correct and sounds wrong ...
"all abstract methods need to be implemented on the first concrete class that inherit the abstract class"
Except that the question specifically stated there were no abstract methods, so the sentence is already correct (mostly--none of the methods would *have* to be overridden, since it's only the class itself that is abstract).
Joined: Jan 09, 2008
The javax.swing package has several abstract classes with fully implemented methods.
The class AbstractButton, for example, has a very long list. The strategy is that in your
concrete class you will override only the few methods that you intend to use. Jim ... ...