Is it possible overriding the method to change its access modifier from the "package-private" to "protected"?
Explanation
Since the protected modifier imposes fewer restrictions than the default access modifier, such redefinition is allowed.

Следи за CodeGalaxy

Мобильное приложение Beta

Get it on Google Play
Обратная Связь
Продолжайте изучать
тесты по Java
Cosmo
Зарегистрируйся сейчас
или Подпишись на будущие тесты