Google News
logo
CPP - Interview Questions
What is the difference between Method Overloading and Method Overriding in C++?
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.
Advertisement