What access level do you need to specify in the class declaration to ensure that only classes from the same directory can access

Q

What access level do you need to specify in the class declaration to ensure that only classes from the same directory can access it?

✍: Guest

A

You do not need to specify any access level, and Java will use a default package access level.

2013-04-22, 3008👍, 0💬