C++ Programming Question: Download C++ Programming PDF

What is polymorphism in C++?

Tweet Share WhatsApp

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 .

Download C++ Programming PDF Read All 120 C++ Programming Questions
Previous QuestionNext 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)