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

Oct 12 in JAVA
Jun 19, 2019 in C++
May 25 in JAVA