Polymorphism - 002 | What is compile time polymorphism in c++ ?

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

There are two types of compile time polymorphism.

1. Function Overloading
Method with same name but with different signatures are selected at compile time itself.

2. Operator Overloading
We can do different arithmetic operations on class objects with the help of operator overloading.

Комментарии

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