Question: Which of the following statements about inheritance in Java is true? Question 1 5 Answer a . Multiple inheritance is supported in Java through interfaces.

Which of the following statements about inheritance in Java is true?
Question 15Answer
a.
Multiple inheritance is supported in Java through interfaces.
b.
Inheritance allows a subclass to inherit the private members of its superclass.
c.
Inheritance is only used to establish an "is-a" relationship between classes.
d.
Inheritance promotes code duplication.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!