Difference between Overloading and Overriding?
Answer Posted / adeel shahid
overriding is done in the base class where the parent class
method is overridden by a method of the same signature.
Overloading is done in the same class on functions with
input parameters differing in number or type.
| Is This Answer Correct ? | 98 Yes | 36 No |
Post New Answer View All Answers
What is the difference between object-oriented programming and procedural programming?
How do I exit turbo c++?
What is an undefined reference/unresolved external symbol error and how do I fix it?
What are the differences between new and malloc?
What is null pointer and void pointer and what is their use?
Explain the benefits of proper inheritance.
Why is swift so fast?
If you push the numbers (in order) 1, 3, and 5 onto a stack, which pops out first a) 1 b) 5 c) 3
Why is c++ still best?
Why was c++ created?
What do you mean by ‘void’ return type?
List down the guideline that should be followed while using friend function.
How a new operator differs from the operator new?
How can you quickly find the number of elements stored in a dynamic array?
How do we implement inheritance in c++?