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 we create object of interface?
Which is not an object oriented programming language?
INSTANCE FIELDS DECLARED private ARE ACCESSIBLE BY THE METHODS ONLY.CAN WE CHANGE THE private FIELD OF AN OBJECT IN A METHOD OF SOME OTHER OBJECT OF THE SAME CLASS?
What is object and example?
What is destructor give example?
How do you use inheritance in unity?
What language is oop?
What is difference between pop and oop?
What is cohesion in oop?
What is the example of polymorphism?
What is abstraction example?
How is class defined?
Can static class have constructor?
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.
What is constructor overloading in oop?