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
#include
what type of question are asked in thoughtworks pair programming round ?
What is abstraction and encapsulation?
What is purpose of inheritance?
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 new keyword in oops?
What is the difference between a constructor and a destructor?
Can bst contain duplicates?
Explain the concepts involved in Object Oriented programming.
What are the features of oop?
#include
What is class in oop with example?
What do you mean by variable?
what's the basic's in dot net
What is polymorphism explain its types?