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 Answer
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 isa 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
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
