Asked by Dylan Gauthier on Jun 14, 2024

verifed

Verified

____ permits the same operation to invoke one set of results on data values of a base class and a different set of results on data values of a derived class.

A) Polymorphism
B) Inheritance
C) Class construction
D) Encapsulation

Polymorphism

A concept in object-oriented programming that allows methods to do different things based on the object it is acting upon.

Base Class

In object-oriented programming, the class from which other classes are derived, providing a common set of attributes and methods.

  • Acquire knowledge of object-oriented programming attributes, involving class creation, inheritance mechanisms, and polymorphism.
  • Distinguish between the concepts of polymorphism, inheritance, encapsulation, and the creation of classes.
verifed

Verified Answer

AS
Ashini SisaraniJun 17, 2024
Final Answer :
A
Explanation :
Polymorphism allows methods to do different things based on the object it is acting upon, enabling the same operation to produce different results with objects of a base class and objects of a derived class.