🎙 Free live masterclass · Sun, 29 Nov, 7:00 pm IST · Java Full Stack roadmap Register free →
Skills101
← Quiz: Inheritance: all 10 questions

Quiz: Inheritance · Question 1 of 10

Which type of inheritance does Java NOT allow with classes?

Which type of inheritance does Java NOT allow with classes?

  1. A.Single
  2. B.Multilevel
  3. C.Hierarchical
  4. D.Multiple
Answer & explanation

Correct answer: Multiple

A Java class can extend only one class; multiple inheritance is possible only through interfaces.

Can you get the rest right without peeking?

Take the timed Quiz: Inheritance quiz free. Pass it to earn XP and count towards your certificate.

Start the quiz →