Skip to content
Sharp

Object-oriented programming · interview question

Why does the difference between a class and an object matter in practice?

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

Correct answer

B. A class is the blueprint; an object is one runtime instance of it

Why

A class defines the shape and behavior of a concept. An object is one actual instance created from that class, carrying its own state at runtime.

Test yourself on Object-oriented programming

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

Start free test
All Object-oriented programming questions →