Skip to content
Sharp

Object-oriented programming · interview question

Which of the following is true about abstract classes in Java?

Multiple choiceMediumchapter-5-curatedpremiumoopinheritance-basics
Choose one answer
Answer and explanation

Correct answer

A. Abstract classes cannot be instantiated directly.

Why

Abstract classes cannot be instantiated directly; they are meant to be subclassed to provide common method implementations and abstract methods for subclasses to fulfill.

Test yourself on Object-oriented programming

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

Start free test
All Object-oriented programming questions →