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 does the nocreate and noreplace flag ensure when they are used for opening a file?
How do you instruct your compiler to print the contents of the intermediate file showing the effects of the preprocessor?
Should a constructor be public or private?
What is the array and initializing arrays in c++?
What does the following do: for(;;) ; a) Illegal b) Loops forever c) Ignored by compiler...not illegal
Why is c++ still popular?
Should I learn c++ c?
Why do we use iterators?
What is a dangling pointer in c++?
What is a try block?
What do you mean by friend class & friend function in c++?
What is stack unwinding?
What are advantages of using friend classes?
What is algorithm in c++ programming?
What is buffer and example?