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 a class in oop?
What is encapsulation selenium?
What is polymorphism explain its types?
What are the components of marker interface?
program for insertion ,deletion,sorting in double link list
What is destructor give example?
2. Give the different notations for the class.\
What is abstraction and encapsulation?
What are the features of oop?
any one please tell me the purpose of operator overloading
Why multiple inheritance is not possible?
Get me an image implementation program.
Can a varargs method be overloaded?
What is class and example?
What is oops in programming?