+ 5
What is an access modifier
definition and examples
3 ответов
+ 5
✓here is a quick start for you
https://www.sololearn.com/learn/Java/2156/?ref=app
+ 4
Access modifier gives us a specifies accessibility:
1. public - is accessible everywhere.
2. private - is accessible only within class.
3. protected - is accessible within package and outside the package but through inheritance only.
4. Default - If you don't use any modifier and the default modifier is accessible only within package.
+ 3
Przemek Drozd thank you even I known about default is an access specifier