Difference between Overloading and Overriding?
Answer Posted / pratimakiran
Overloading doesn't block Inheritence from the
superclass where as Overriding blocks is Inheritence.
Overloading method has different Parameters but same name
whereas Overriding is just the implementation of method
define Base Class.
Overloading Two or more functions having same name but
different methods i.e arguements or return types.
Overriding means use same name function name
with same parameters of the base class in the derived class.
| Is This Answer Correct ? | 6 Yes | 3 No |
Post New Answer View All Answers
What are the effects after calling the delete this operator ?
Explain rtti.
What are separators in c++?
If you push the numbers (in order) 1, 3, and 5 onto a stack, which pops out first a) 1 b) 5 c) 3
How is objective c different from c++?
What are the advantages of c++ over c?
Can the operator == be overloaded for comparing two arrays consisting of characters by using string comparison?
What is the difference between the parameter to a template and the parameter to a function?
What is the use of function pointer?
What is a local variable?
Explain the extern storage classes in c++.
Tell me an example where stacks are useful?
What will happen if a pointer is deleted twice?
program explaining feautures of c++
I want explanation for this assignment: how to connect mysql database using c/c++,please explain this detailly?