Top News

Is it allowed to mark a method abstract as well as final?

 

No. It will be contradictory statement to mark a method abstract as
well as final.
An abstract method has to be overridden by a child class. And a
final method cannot be overridden. Therefore a method can be
either abstract or final in Java.

Post a Comment

Previous Post Next Post