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
What is multilevel inheritance?
What are constructors in oop?
Can bst contain duplicates?
What is coupling in oops?
Why do while loop is used?
Give an example where we have to specifically use C programming language and C++ programming language cannot be used?
Is this job good for future? can do this job post grduate student?
Why is oop useful?
What is abstract class in oops?
What is the problem with multiple inheritance?
Is react oop?
What is abstraction oop?
Hi friends I have experience of 6 months in website design and maintanence. Now i am looking for other IT jobs.. to switch platform. please post any interview you know in chennai.
What does I oop mean?
What is ambiguity in inheritance?