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 and object?
What is the highest level of cohesion?
What does oop mean in snapchat?
Why multiple inheritance is not allowed?
What is data binding in oops?
what type of questions
What is object-oriented programming? Webopedia definition
What is overriding vs overloading?
What is a class oop?
What is solid in oops?
What do you mean by Encapsulation?
What is the real time example of encapsulation?
what are the different types of qualifier in java?
What is abstraction and encapsulation?
Why do we use oops?