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
Show the application of a dynamic array with the help of an example.
How to implement is-a and has-a class relationships?
What is a binary file? List the merits and demerits of the binary file usagein C++.
Which operator cannot be overloaded c++?
What is an iterator class in c++?
Can we use clrscr in c++?
What do you mean by global variables?
What is function overloading c++?
Can manipulators fall in love?
Can we delete this pointer in c++?
What does the following do: for(;;) ; a) Illegal b) Loops forever c) Ignored by compiler...not illegal
Why Pointers are not used in C++?
In c++, what is the difference between method overloading and method overriding?
What is the most powerful coding language?
Describe the advantages of operator overloading?