Skip to content
Sharp

Object-oriented programming · interview question

How would you explain a key limitation of using abstract classes in a Java interview?

Multiple choiceMediumchapter-5-curatedpremiumoopabstract-classes
Choose one answer
Answer and explanation

Correct answer

B. A class can only extend one abstract class.

Why

Java supports single inheritance, meaning a class can only extend one abstract class. This limits the ability to inherit behavior from multiple abstract classes.

Test yourself on Object-oriented programming

A free test with instant, explained results. No account needed.

Start free test
All Object-oriented programming questions →