Skip to content
Sharp

Object-oriented programming · interview question

How would you explain a key characteristic of an abstract class in a Java interview?

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

Correct answer

C. It can have both abstract and concrete methods.

Why

An abstract class in Java can have both abstract and concrete methods. This means it can provide partial implementation for its subclasses.

Test yourself on Object-oriented programming

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

Start free test
All Object-oriented programming questions →