The feature in object-oriented programming that allows the same operation to…
2009
The feature in object-oriented programming that allows the same operation to be carried out differently, depending on the object, is:
- A.
Inheritance
- B.
Polymorphism
- C.
Overfunctioning
- D.
Overriding
Attempted by 139 students.
Show answer & explanation
Correct answer: B
Polymorphism is the object-oriented programming feature that allows operations to be performed differently based on the specific object type. This enables a single interface to represent multiple underlying forms.