What Is Polymorphism in C++ ?
Answers were Sorted based on User's Feedback
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.
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / nashiinformaticssolutions
An object-oriented programming concept called polymorphism enables a function or object to act differently depending on the situation. Polymorphism in C++ can be called at compile time or at runtime.
| Is This Answer Correct ? | 0 Yes | 0 No |
What is the difference between public, private, and protected inheritance?
What is the purpose of a constructor? Destructor?
Name the operators that cannot be overloaded.
Write a C++ Program to Display Number (Entered by the User).
What kind of problems does name mangling cause?
How to reverse a string in C++
What is the difference between Stack and Queue in C++?
0 Answers Global Logic, iNautix,
Define type casting in C++.
How to generate random numbers in C++ with a range?
What is conversion constructor in C++
If class D is derived from a base class B
What is name mangling/name decoration?