in C Plus Plus by
Q:

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

▼ Show 1 Answer

0 votes
by

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.

Learn More with Madanswer

Related questions

0 votes
asked Oct 19, 2020 in JAVA by rahuljain1
...