Difference between over loading and over ridding?
Answer Posted / shashikanth c r
Overloading is nothing but compile time allocation where we
will come to know which method will be called. In this
method we can overload either a method or even operators
too.
Overridding is nothing but run time allocation. We being
programmers can let the program to deside which method
should be called during the execution. During comp time,
we will never come to know which object will call which
method. This can be achived by using VIRTUAL keyword.
| Is This Answer Correct ? | 4 Yes | 1 No |
Post New Answer View All Answers
What is encapsulation example?
What is debug class?what is trace class? What differences are between them? With examples.
Whats oop mean?
i am getting an of the type can not convert int to int *. to overcome this problem what we should do?
What is destructor in oop?
Prepare me a program for the animation of train
What is multilevel inheritance?
i=20;k=0;
for(j=1;k-i;k+=j<10?4:3)
{
cout< What are the components of marker interface? Explain the concepts involved in Object Oriented programming. What is abstraction in oops? Why do we use inheritance? What is object and example? What is polymorphism and types? what is difference between class template and template class?