Which of the following statements are true?
Explanation
Static method can be called from a non-static one (the opposite is not true) since a static method can be called without creation of an instance of the class and it has access only to static fields and methods of the class. private modifier usage does not limit the visibility of a field or method within the class declaration. Nothing prevents the method from being declared as final static.

Следи за CodeGalaxy

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

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