| 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
< Prev
Next >

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

A

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

B

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

C

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

D

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

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.

No comments yet. Be the first to comment!

AI Tutor

How can I help?

APFIVE © 2020.
Email: [email protected]|Privacy Policy