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 is the two main roles of operating system?
what is a class? Explain with an example.
How does class accomplish data hiding in c++?
why is c++ called oops? Explain
What is c++ good for?
How do you flush std cout?
What is the use of "new" operator?
What is a volatile variable in c++?
Where is atoi defined?
What is the difference between reference and pointer?
Differentiate between an array and a list?
Is c++ an oop?
What is #include iomanip?
Which is better c++ or java?
How does c++ structure differ from c++ class?