📚 Practice Mode

Java Declarations and Access Control Quiz

Learn at your own pace with hints and detailed explanations

1 / 8
Multiple Choice

You want subclasses in any package to have access to members of a superclass. Which is the most restrictive access that accomplishes this objective?

  1. public
  2. protected
  3. private
  4. transient