How many types of polymorphism are there in C++?

There are two types of polymorphism in C++, compile-time and run-time polymorphism. Function overloading and operator overloading are used to achieve compile-time polymorphism. Function overriding is used to achieve run-time polymorphism.

Sizin İçin Seçtik  Ekstre seçenekleri ne demek?

Leave a Reply

Your email address will not be published. Required fields are marked *