C++ Programming Question:
Download Job Interview Questions and Answers PDF
What is polymorphism in C++?
Answers:
Answer #1Polymorphism in C++ is the idea that a base class can be inherited by several classes. A base class pointer can point to its child class and a base class array can store different child class objects.
Answer #2Plymorphism means more than one type or more than one same name .
It is an OOp feature that allows you to create More than One Class with Similar name . also known as Overriding .
It is an OOp feature that allows you to create More than One Class with Similar name . also known as Overriding .
Download C++ Programming Interview Questions And Answers
PDF
Previous Question | Next Question |
How do you write a function that can reverse a linked-list in C++? | How do you find out if a linked-list has an end? (i.e. the list is not a cycle) |