Object-Oriented Programming (OOP)
An OOP concept that allows objects of different classes to be treated through a common interface. What is this concept called?
- A. Class
- B. Constructor
- C. Polymorphism ✓
- D. Encapsulation
Correct answer
C. Polymorphism
Explanation
Polymorphism refers to an OOP concept that allows objects of different classes to be treated through a common interface.