Difference between Overloading and Overriding?
Answer Posted / shivanand
The main difference between overloading and overriding is
that in overloading we can use same function name with
different parameters for multiple times for different tasks
with on a class.
and overriding means we can use same name fiunction name
with same parameters of the base class in the derived class.
this is also called as reusability of code in the programme.
| Is This Answer Correct ? | 312 Yes | 67 No |
Post New Answer View All Answers
What is token c++?
How much is c++ certification?
List the merits and demerits of declaring a nested class in C++?
Which field is used in c++?
Why c++ is the best language?
In inline " expression passed as argument are evalauated once " while in macro "in some cases expression passed as argument are evaluated more than once " --> i am not getting it plz help to make me understand....
How do we implement inheritance in c++?
What does count ++ do in c++?
What does iomanip mean in c++?
What is pure virtual function? Or what is abstract class?
Explain all the C++ concepts using examples.
What is ios :: in in c++?
How do you declare a set in c++?
How do I write a c++ program?
How can you differentiate between inheritance and implementation in c++?