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.

Слідкуй за CodeGalaxy

Мобільний додаток Beta

Get it on Google Play
Зворотній Зв’язок
Продовжуйте вивчати
тести з Java
Cosmo
Зареєструйся Зараз
або Підпишись на майбутні тести