Multiple Choice
Which of the following are not inherited by subclasses?
A) public fields and public methods
B) private fields and private methods
C) protected fields and protected methods
D) All of these are correct.
Correct Answer:

Verified
Correct Answer:
Verified
Related Questions
Q29: If a class has an abstract method,
Q30: Some OOP developers call a subclass the
Q31: Typically, an abstract class is a class
Q32: Which of the following is true of
Q33: A method in a subclass overriding a
Q35: Abstract methods can be overridden.
Q36: An interface can contain one or more
Q37: The extends keyword specifies that the subclass
Q38: Several classes implement an interface, but all
Q39: Suppose you write a program in which