Java Declarations and Access Control Quiz

Casual Mode - Take your time!

1 / 8
Correct
0
Incorrect
0
Score
0%
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
Change Mode