Polymorphism - 001 | What is Polymorphism in c++ ?

Описание к видео Polymorphism - 001 | What is Polymorphism in c++ ?

Polymorphism made of two greek words "Poly" and "Morphs" which means "having many forms.
That means, they look similar but actually they are different.
There are two types of Polymorphism in object oriented programming.
1. Compile-time Polymorphism
- Where methods are selected at compile time itself.
2. Run-time polymorphism
- Where methods can be selected only at run-time, selection of method at compile-time is not possible.

#interviewquestions #cplusplus #objectorientedprogramming

Комментарии

Информация по комментариям в разработке