Додати до Chrome
✅ Перевірена відповідь на це питання доступна нижче. Наші рішення, перевірені спільнотою, допомагають краще зрозуміти матеріал.
Which of the following is an incorrect description of access modifiers in Java?
The default modifier has similar level of accessibility as the public modifier, where they are accessible anywhere outside the class.
If you do not provide any access modifier to the instance variables of a class, Java will by default make them accessible from inside the package.
Public methods are accessible outside the class they are declared in, while private methods are only accessible within the class they are declared.
The public modifier provides the lowest level of encapsulation while the private modifier provides the highest level of encapsulation.
Отримайте необмежений доступ до відповідей на екзаменаційні питання - встановіть розширення Crowdly зараз!