Is it possible to use abstract and final modifiers during a class declaration at the same time?
Explanation
These two modifiers are mutually exclusive:
- abstract modifier is used to indicate that the class has an incomplete implementation or it should be treated like one;
- final modifier is applied to fully implement classes that do not need (or it is undesirable for them to have) any subclasses in order to ensure the reliability and / or performance.
Java
Java Quiz
Start Quiz

or Read more about Java Quiz

Follow CodeGalaxy

Mobile Beta

Get it on Google Play
Send Feedback