What is the difference between "overloading" and "overridding"?
Answer Posted / shivanannd
overloading means that we can use same method with same
name many times for multiple purpose in a class with
difference parameters.
overriding means we can refer a method of a base class with
same name in a derived class with same paameters.
| Is This Answer Correct ? | 8 Yes | 0 No |
Post New Answer View All Answers
Am studying basic c++ programming, have been given the following assignment. Design a linear program to calculate the maximum stress a material can withstand given a force and a diameter of a circle. To find the required area pi should be defined. Have most of the program sorted out but am at a loss as to how to show the calculations required. Can anyone help?
What is abstraction in c++ with example?
What are the advantages of prototyping?
What is capacity in vector in c++?
What is the most common mistake on c++ and oo projects?
Which is best c++ or java?
What is pure virtual function? Or what is abstract class?
What is #include iostream in c++?
What is singleton pattern in c++?
What is scope resolution operator in c++ with example?
What is the difference between a template and a macro?
What new()is different from malloc()?
Why do you use the namespace feature?
To which numbering system can the binary number 1101100100111100 be easily converted to?
What is the most powerful coding language?