Difference between over loading and over ridding?
Answer Posted / nagababu
Overloading:-Writing Two or three methods with same name
but different parameters in same class,it is called
methodOverloading.
Overriding:-writing same methodname and parameters in
subclass and superclass with same return type,it is called
methodoverriding.
Is This Answer Correct ? | 3 Yes | 2 No |
Post New Answer View All Answers
Can a varargs method be overloaded?
What is multilevel inheritance?
Get me a number puzzle game-program
What is the types of inheritance?
Is data hiding and abstraction same?
why reinterpret cast is considered dangerous?
What is inheritance and how many types of inheritance?
What is difference between data abstraction and encapsulation?
What is interface in oop?
What is the real life example of polymorphism?
Which method cannot be overridden?
What is difference between pop and oop?
Which is not an object oriented programming language?
c++ program to swap the objects of two different classes
What is use of overloading?