Are you taking CLEP classes? Try clep.ai
| preferred AP College board partner for AP classes
AP Computer Science A/Unit 9: Inheritance
Start Practice TestPractice Test
About Exam
easy

Java Inheritance Principles

Mark
< Prev
Next >

Which of the following statements correctly describes a principle of inheritance in Java?

A

Multiple inheritance is allowed through the use of the super keyword.

B

A class can inherit from only one direct superclass, preventing issues like the diamond problem.

C

A class must inherit from at least two classes, including Object.

D

A class can inherit from multiple classes as long as there is no ambiguity.

Hint
Did You Know?
Explain Why
Explain All Answers
Check Answer
Show Correct Answer
Report Question

Question Leaderboard

Not enough data yet to show leaderboard.

AI Tutor

How can I help?

APFIVE © 2020.
Email: apfive@apfive.org|Privacy Policy|