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 debug class?what is trace class? What differences are between them? With examples.
Why is oop useful?
What is oops with example?
What are the three main types of variables?
write a program to enter a string like"sunil is a good boy and seeking for a job" not more than 10 characters including space in one line,rest characters should b in other line.if the next line starts from in between the previous word,then print whole word to next line.
What is abstraction in oops?
what is the sylabus for priliminaries?
I have One image (means a group photo ) how to split the faces only from the image?............ please send the answer nagadurgaraju@gmail.com thanks in advace...
What is abstraction with example?
What do you mean by abstraction?
write knight tour problem which is present in datastructure
What type of loop is a for loop?
Will I be able to get a picture in D drive to the c++ program? If so, help me out?
What exactly is polymorphism?
What is difference between data abstraction and encapsulation?