Login
Your Email
Pasword
Home
Write
Trending
History
Liked
Dashboard

What does polymorphism mean in C++?

Here we understand the concept of Polymorphism in C++ in detail.

Do you have similar website/ Product?
Show in this page just for only $2 (for a month)
Create an Ad
0/60
0/180
What does polymorphism mean in C++ language?
Polymorphism:
It simply means "one name and multiple forms" or "giving different meaning to the same thing."
 The concept of polymorphism is implemented using the overloaded functions and operators.
 The overloaded functions are "selected" for invoking by matching arguments, both by type and number.
 This information is known to the compiler at the compile time and therefore compiler is able to select appropriate function call at the compile time itself. This is called early binding or static binding or static linking.
It would be nice if appropriate member function could be selected while the program is running. This is known as runtime polymorphism.
C++ supports a mechanism known as virtual function to achieve runtime polymorphism.
CONTINUE READING
What is polymorphism mean in C++
means "one name and multiple forms"
"giving different meaning to the same thing"
Concept of Polymorphism in C++ Language.
Kinnari
Techwriter at NewsandStory