Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CPP

polymorphism in c++

Polymorphism in C++ means, the same entity (function or object) behaves differently in different scenarios. Consider this example: The “ +” operator in c++ can perform two specific functions at two different scenarios i.e when the “+” operator is used in numbers, it performs addition.
Source by www.mygreatlearning.com #
 
PREVIOUS NEXT
Tagged: #polymorphism
ADD COMMENT
Topic
Name
3+8 =