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
Write a program to add three numbers in C++ utilizing classes.
Differentiate between an array and a list?
total amount of milk produced each morning and then calculates and outputs the number of cartons needed for this milk , the cost of producing the milk and the profit from producing this milk.
what is the difference between overloading & overriding? give example.
How do you sort a sort function in c++ to sort in descending order?
Can char be a number c++?
What is #include iostream?
What do you mean by volatile and mutable keywords used in c++?
What is the main purpose of c++?
Can a new be used in place of old mallocq? If yes, why?
What is expression parser in c++
Explain how overloading takes place in c++?
What is the importance of mutable keyword?
Give an example of run-time polymorphism/virtual functions.
What are static variables?