Multiple Choice
A method or instance variable modified by protected:
A) can not be accessed by name inside its own class definitions.
B) can not be accessed by name inside any class derived from it.
C) can not be accessed by name in the definition of any class in the same package.
D) can not be accessed by name in any other class (that is,other than classes named in a-c.) .
Correct Answer:

Verified
Correct Answer:
Verified
Q5: The keyword extends indicates polymorphism.
Q8: What is package access?
Q14: What is an "is a" relationship? How
Q23: A derived class is also called a<br>A)sub
Q26: A base class is synonymous with a:<br>A)Child
Q28: An instance variable or method)that is private
Q30: The equals method for a class should
Q32: Inheritance is the process by which a
Q40: Explain how parent and child classes are
Q42: A derived class contains only public instance