Multiple Choice
Assuming that class B inherits from class A, which of the following is correct?
A) An object of class B is an object of class A.
B) An object of class A is an object of class B.
C) An object of class B is an object of class A and an object of class A is an object of class B.
D) None of these is correct.
Correct Answer:

Verified
Correct Answer:
Verified
Q39: Suppose you write a program in which
Q40: Inheritance helps organize related classes into _.
Q41: Why does Java provide a protected access
Q42: Private fields and methods are inherited.
Q43: An interface can contain instance variables.
Q45: Which keyword do we use in the
Q46: Which of the following would make the
Q47: Why would you want to override a
Q48: A class must implement at least one
Q49: Which of the following is the correct