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
What is abstract class in oop?
What is pure oop?
What is encapsulation selenium?
What is difference between oop and pop?
What are the important components of cohesion?
What is Difference Between Inheritance and creating object and getting data? means Class A extends B{ B.getMethod();} (OR) Class A{ b obj=new B(); obj.getMethod(); }
What is this pointer in oop?
What is the difference between a constructor and a destructor?
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?
They started with the brief introduction followed by few basic C++ questions on polumorphism, inheritance and then virtual functions. What is polymorphims? How you will access polymorphic functions in C? How virtual function mechanism works?
What is polymorphism what are the different types of polymorphism?
What do you mean by variable?
What is multilevel inheritance explain with example?
Are polymorphisms mutations?
What does and I oop mean in text?