Asked by Priyank Patel on Sep 26, 2024

verifed

Verified

__________ refers to the ability to associate many meanings to one method name by means of the late binding mechanism.

A) Inheritance
B) Encapsulation
C) Polymorphism
D) None of the above

Late Binding Mechanism

The process of linking a function call to the actual code to be executed at runtime, rather than compile time.

Polymorphism

A programming concept allowing objects of different classes to be treated as objects of a common superclass, enabling multiple forms of behavior.

  • Comprehend the principle of polymorphism and its application through dynamic binding.
verifed

Verified Answer

SD
Shane Dailey2 days ago
Final Answer :
C
Explanation :
Polymorphism refers to the ability of an object to take on many forms. In programming, this is achieved through the use of late binding, which allows different methods to be called based on the context in which they are used. This enables a single method name to have multiple meanings depending on the context in which it is called, and is a key feature of object-oriented programming. In contrast, inheritance and encapsulation are other fundamental concepts in object-oriented programming, but do not directly relate to the ability to associate multiple meanings to a single method name.