Difference between over loading and over ridding?
Answer Posted / rameshwar gaikwad
Difference
Method OverLoading
1. Same method name with different number of argument
2. Number of argument with different datatype
3. Each method may returns different type of value
4. All overloaded methods founds to be in one class.
Method OverRiding
1. Same method name with same number of argument
2. Number of argument with same datatype
3. Each method must returns same type of value
4. Each overrided method of base class founds in respective
derived class.
| Is This Answer Correct ? | 5 Yes | 1 No |
Post New Answer View All Answers
I have One image (means a group photo ) how to split the faces only from the image?............ please send the answer nagadurgaraju@gmail.com thanks in advace...
What are classes oop?
Write a c++ program to display pass and fail for three student using static member function
to find out the minimum of two integer number of two different classes using friend function
How many human genes are polymorphic?
What is the difference between inheritance and polymorphism?
officer say me - i am offered to a smoking , then what can you say
What is super in oop?
Get me a number puzzle game-program
just right the logic of it 1--> If few people are electing then every time ur candidate should win 2--> arrange books in box, if box carry weight == books weight then take another box..... find the no of box required.
How do you use inheritance in unity?
Why do we use class?
What does no cap mean?
What is polymorphism and why is it important?
Why we use classes in oop?