Interview Preparation mode beta
Funny Facebook Status Funny Facebook Status
Enter your email address

What access level do you need to specify in the class declaration?

Nice?Vote!
What access level do you need to specify in the class declaration to ensure that only classes from the same directory can access it?
asked 1 year ago in Java Interview Questions and Answers by anonymous

1 Answer

Nice?Vote!
You do not need to specify any access level, and Java will use a default package access level.
answered 1 year ago by anonymous

Related questions