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 |
C++ Public access specifier instead of Private – What is bad ?
CDPATH shell variable is in(c-shell)
Define an Abstract class in C++?
Explain the difference between method overriding and method overloading in C++?
How to delete array of objects in C++? Proof by C++ code for proper deletion
What is RTTI and why do you need it?
When must you use a constructor initializer list?
what is friend function in C++?
Name the operators that cannot be overloaded.
How does stack look in function calls? Write a recursive function call, how will the stack look like?
What is the difference between member functions and static member functions?
What is a memory leak in C++?