Difference between Overloading and Overriding?
Answer Posted / gaurav rawat
* in overloading function name are same but signatures
(argument) are different .
while in overriding function name are as well as argument
are same in drive class as in super class.
* for overloading can be done in one class but
for overriding there is necessary that at least two class
should be present.
Is This Answer Correct ? | 101 Yes | 24 No |
Post New Answer View All Answers
What kind of jobs can I get with c++?
How is c++ different from java?
Is c++ faster than c?
What is a base class?
List the merits and demerits of declaring a nested class in C++?
Why is c++ awesome?
What function initalizes variables in a class: a) Destructor b) Constitutor c) Constructor
What it is and how it might be called (2 methods).
What is new in c++?
What does n mean in c++?
Can recursive program be written in C++?
What are vtable and vptr?
Explain the volatile and mutable keywords.
Why c++ is not a pure oop language?
Can we run c program in turbo c++?