Difference between over loading and over ridding?
Answer Posted / sri
overloading means when u define more than one function with
same name but different arguments and return type.it is
compiletime allocation
overriding means when we define more than one function with
same name,same arguments.it mainly used in inheritance
concept.it is runtime allocation
| Is This Answer Correct ? | 1 Yes | 1 No |
Post New Answer View All Answers
What is encapsulation in simple terms?
What is Difeerence between List obj=new ArrayList(); and ArrayList obj=new ArrayList()?
What is an example of genetic polymorphism?
c++ program to swap the objects of two different classes
What is encapsulation and abstraction? How are they implemented in C++?
What is the difference between a mixin and inheritance?
What are main features of oop?
What is object and example?
What is the purpose of polymorphism?
design a c++ class for the chess board,provide a c++ class definition for such class(only class definition is required)
What do you mean by variable?
What are the 4 pillars of oop?
Are polymorphisms mutations?
What is the difference between procedural programming and oops?
What is difference between oop and pop?