MCQ Practice Single Best Answer Topic: Inheritance in Java MCQ

Q Which of the following is true?

1. A class can extend more than one class.
2. A class can extend only one class but many interfaces.
3. An interface can extend many interfaces.
4. An interface can implement many interfaces.
5. A class can extend one class and implement many interfaces.

Question ID
#2252
Subchapter
Inheritance in Java MCQ
Action
Choose one option below

Choose Your Answer

Click an option to check whether your answer is correct.

  • A 1 and 2
  • B 2 and 4
  • C 3 and 5
  • D 3 and 4
Correct Answer: C

Explanation

3 and 5

Share This Question

Share this MCQ with your friends or study group.