Object-Oriented Programming (OOP)
Which of the following best describes Object?
- A. An OOP principle that hides complex implementation details and exposes only essential features.
- B. An instance of a class that contains actual values for the properties defined by the class. ✓
- C. The ability of a subclass to provide a specific implementation of a method already defined in its parent class.
- D. An OOP concept that allows objects of different classes to be treated through a common interface.
Correct answer
B. An instance of a class that contains actual values for the properties defined by the class.
Explanation
Object refers to an instance of a class that contains actual values for the properties defined by the class.