The ______ access modifier hides the members of a class from the class's clients but makes them available to a subclass and to another class within the same package.
A) public
B) protected
C) private
D) package access
Correct Answer:
Verified
Q1: Containment is another name for a(n)_ relationship.
A)is-a
B)has-a
C)has-many
D)similar-to
Q2: The class which inherits the members of
Q3: A subclass inherits all of the following
Q4: Inheritance should only be used when a(n)_
Q6: _ enables the reuse of existing classes.
A)Encapsulation
B)Inheritance
C)Polymorphism
D)Simulation
Q7: _ is the ability of a class
Q8: A class's _ members can only be
Q9: A class's _ members are available to
Q10: The keyword _ is used in the
Q11: Dynamic binding is also known as _.
A)early
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