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 selenium?
What is polymorphism and its types?
Why is abstraction needed?
Why do while loop is used?
i=20;k=0;
for(j=1;k-i;k+=j<10?4:3)
{
cout<
Why is it so that we can have virtual constructors but we cannot have virtual destructors?
What do you mean by overloading?
What is data binding in oops?
What are different oops concepts?
State what is encapsulation and friend function?
What is the renewal class?
What is a superclass in oop?
what is different between oops and c++
How long to learn object oriented programming?
What is encapsulation in oops?