37.4k views
0 votes
Polymorphism means (Points : 2) many forms

inheritance
driver
many birds

1 Answer

0 votes

Answer:

many forms

Step-by-step explanation:

Polymorphism is a construct in object oriented programming which means multiple forms.For example: Suppose I have a function which performs the add operation on two integers and another function with the same name which concatenates 2 given strings:

  • int add ( int a, int b);
  • string add ( string a , string b)

The two functions represent polymorphic forms of the add function. The function to be invoked at runtime is determined by the runtime argument type.

For example , add (2,3) will invoke int add ( int a, int b);

Similarly, add("hello","world") will invoke string add ( string a , string b);

User Daniel Lobo
by
5.0k points