Difficulty: Easy
Correct Answer: default access
Explanation:
Introduction / Context:This question checks knowledge of package-private (default) access in Java.
Concept / Approach:Modifiers in Java:
Step-by-Step:
For restricting to "same package": default access is the most restrictive that still allows package sharing.Final Answer:default access
Discussion & Comments