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
How do I run c++?
Explain the concept of dynamic allocation of memory?
What is capacity in vector in c++?
What is pointer to member?
What is the first name of c++?
What is a stack? How it can be implemented?
How do I write a c++ program?
What are the advantages of inheritance in c++?
How do you master coding?
What is array in c++ example?
How to demonstrate the use of a variable?
What is the auto keyword good for in c++?
Difference between delete and free.
What are the main features of c++?
Why do we use templates?