Access specifier?? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

Access specifier??

what is the use of default access specifie4r in java???

11th Apr 2017, 6:03 AM
Mayur Chaudhari
Mayur Chaudhari - avatar
2 Answers
+ 3
ok thanks
11th Apr 2017, 7:42 AM
Mayur Chaudhari
Mayur Chaudhari - avatar
+ 9
It is below public, public access specifier allows the member to be accessible from everywhere, default on the other hand, can be able to access from same class, derived class and same package but not from any other package.
11th Apr 2017, 6:18 AM
Sachin Artani
Sachin Artani - avatar