Multiple choice

Which of the following is/are the main feature(s) of an object?

  1. run time entity

  2. instance of a class

  3. combination of data and functions

  4. all of the above

Reveal answer Fill a bubble to check yourself
D Correct answer
Explanation

Objects embody three fundamental characteristics: they exist at runtime (not compile time), are instantiations of class blueprints, and encapsulate both state (data) and behavior (methods) into a single unit.