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
Write a program to reverse a string using recursive function?
What are the benefits of interface?
What is abstraction in oop with example?
What are the two different types of polymorphism?
Following are the class specifications: class {int a}; class {int b}; Using friend funtion,calculate the max of two objects and display it.
What is difference between polymorphism and inheritance?
Is oop better than procedural?
What is abstraction with example?
What exactly is polymorphism?
What is interface? When and where is it used?
Why is static class not inherited?
Which is not an object oriented programming language?
What is the important feature of inheritance?
What does it mean when someone says I oop?
What is the difference between a constructor and a destructor?