What is Polymorphism in Cpp?

All QuestionsCategory: Cpp LanguageWhat is Polymorphism in Cpp?
Chetan Shidling Staff asked 5 years ago

I need short information.

1 Answers
Chetan Shidling Staff answered 5 years ago

Polymorphism in Cpp

  1. The word polymorphism means having many forms.
  2. Polymorphism is the ability of a message to be displayed in more than one form.
  3. Polymorphism is one of the important features of Object-Oriented Programming.
  4. In C++ polymorphism is mainly divided into two types:
  • Compile-time Polymorphism
  • Runtime Polymorphism