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 a pointer with example?
Difference between delete and free.
Explain the different access specifiers for the class member in c++.
Explain the concept of friend function in c++?
Function can be overloaded based on the parameter which is a value or a reference. Explain if the statement is true.
What are the basics of local (auto) objects?
What is c++ runtime?
Where Malloc(), Calloc(), and realloc() does get memory?
What are pointer-to-members? Explain.
What is the purpose of extern storage specifier?
Explain what are the sizes and ranges of the basic c++ data types?
Is c++ an oop?
Explain class invariant.
What is a rooted hierarchy?
How did c++ start?