Object-Oriented Programming (OOP)
Choose the correct description of Polymorphism.
- A. A blueprint that defines the properties and behaviors that objects created from it will have.
- B. An OOP concept that allows objects of different classes to be treated through a common interface. ✓
- C. An OOP mechanism that allows a class to acquire properties and behaviors from another class.
- D. A reference used within a class to refer to the current instance of the object.
Correct answer
B. An OOP concept that allows objects of different classes to be treated through a common interface.
Explanation
Polymorphism refers to an OOP concept that allows objects of different classes to be treated through a common interface.