Q:

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

0

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


  1. Public
  2. Private
  3. Protected
  4. Transient
  5. No access modifier is qualified

All Answers

need an explanation for this answer? contact us directly to get an explanation for this answer

Correct Answer:

Protected

need an explanation for this answer? contact us directly to get an explanation for this answer

total answers (1)

Core Java Multiple Choice Questions And Answers

This question belongs to these collections

Similar questions


need a help?


find thousands of online teachers now
You need to store elements in a collection that gu... >>
<< Which two statements are reserved words in Java? (...