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
Draw a flow chart and write a program for the difference between the sum of elements with odd and even numbers. Two dimensional array.
When are exception objects created?
What is a multiset c++?
Should I learn c++ c?
How can I disable the "echo" feature?
Tell me difference between constant pointer and pointer to a constant.
Why c++ is created?
What are static type checking?
Can a constructor return a value?
which operator is used for performing an exponential operation a) > b) ^ c) none
What are advantages of c++?
What is the most powerful coding language?
Write a Program for find and replace a character in a string.
Are there any special rules about inlining?
List the features of oops in c++?