What is overloading and example?

Overloading is about same function have different signatures . Overriding is about same function, same signature but different classes connected through inheritance. Overloading is an example of compiler time polymorphism and overriding is an example of run time polymorphism.

Sizin İçin Seçtik  How do you overload the ++ operator in C++?

Leave a Reply

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