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 called array?
What is the need of a destructor?
List the special characteristics of constructor.
How delete [] is different from delete?
How do you declare A pointer to function which receives an int pointer and returns a float pointer
What is the best it certification?
Why is c++ awesome?
What is problem with overriding functions?
Tell me an example where stacks are useful?
How static variables and local variablesare similar and dissimilar?
Can a Structure contain a Pointer to itself?
Show the declaration for a static function pointer.
What do you mean by function pointer?
What relational operators if statements in c++?
Why is "using namespace std;" considered bad practice?