In order for derived classed to have access to encapsulated data members and methods of superclasses, the data members and methods should be declared using the ____________________ modifier.
A) private
B) public
C) protected
D) final
E) static
Correct Answer:
Verified
Q9: A _ class represents a generic concept
Q10: A child class is allowed to define
Q11: Which of the following key words indicates
Q12: To invoke a parents constructor in a
Q13: The process of inheritance should establish a(n)
Q15: When designing a class hierarchy, it is
Q16: Which of the following methods are included
Q17: Of the classes below, the one that
Q18: All Java classes are subclasses of the
Q19: When a variable is declared in a
Unlock this Answer For Free Now!
View this answer and more for free by performing one of the following actions
Scan the QR code to install the App and get 2 free unlocks
Unlock quizzes for free by uploading documents