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
Зарегистрируйся сейчас
или Подпишись на будущие тесты