Asked by jake

What would happen if I did not give a access specifier. Would the class method or attribute be accessible to all other classes?

Answers

Answered by MathMate
This is different from public, or private.
Sometimes it is call package or default access.
Read up at:

http://docs.oracle.com/javase/tutorial/java/javaOO/accesscontrol.html
There are no AI answers yet. The ability to request AI answers is coming soon!

Related Questions