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
Зареєструйся Зараз
або Підпишись на майбутні тести