Moderate

Which type of inheritance is not supported by java_____________?

Correct answer: D. Multiple

  • A. Single
  • B. Mulilevel
  • C. Hirarchical
  • D. Multiple

Explanation

Java supports single, multilevel, and hierarchical inheritance through classes, but it does not allow a class to extend multiple classes. Multiple inheritance can instead be approximated through interfaces.

Last updated

Practise Software Design and Architecture

493 free Software Design and Architecture MCQs from Software Engineering, each with the correct answer and an explanation. Unlimited attempts, no account needed.

Exams that ask Software Engineering questions like this

Software Engineering is on this paper prepared for on TestUstad, and all of them draw the same bank, so this question is worth knowing for it.

Related questions