Skip to content
Sharp

Object-oriented programming · interview question

In the context of Java, what is an object?

Multiple choiceEasychapter-2-curatedpremiumoopclasses-and-objects
Choose one answer
Answer and explanation

Correct answer

D. A runtime instance of a class

Why

An object is a runtime instance of a class. It is created based on the blueprint provided by the class and has its own state and behavior.

Test yourself on Object-oriented programming

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

Start free test
All Object-oriented programming questions →