Difference between Overloading and Overriding?
Answer Posted / sandy
Overloading doesn't block Inheritence from the
superclass where as Overriding blocks is Inheritence.
Overloading method has different Parameters but same name
whereas Overriding is just the implementation of method
define Base Class.
| Is This Answer Correct ? | 7 Yes | 2 No |
Post New Answer View All Answers
If a function doesn’t return a value, how do you declare the function?
How the programmer of a class should decide whether to declare member function or a friend function?
We all know that a const variable needs to be initialized at the time of declaration. Then how come the program given below runs properly even when we have not initialized p?
what you know about c++?
Which software is best for c++ programming?
Is swift a good first language?
Explain the use of this pointer?
What are put and get pointers?
What is runtime errors c++?
What are the advantages of using typedef in a program?
Explain function overloading
What does namespace mean in c++?
Who calls main function?
What is a local reference?
How would you call C functions from C++ and vice versa?