Jun 15 in C++


What is the difference between Method Overloading and Method Overriding in C++?

1 Answer

Jun 16

Method overloading is having functions with the same name but different argument lists. This is a form of compile-time polymorphism.

Method overriding comes into picture when we rewrite the method that is derived from a base class. Method overriding is used while dealing with run-time polymorphism or virtual functions.

Click here to read more about C++
Click here to read more about Insurance

Related questions

Jun 11 in C++
Jun 9 in C++
Jun 11 in C++