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
What are the advantages of c++? Explain
Explain one-definition rule (odr).
What is function overriding in c++?
What is the header file for setw?
What is a unnitialised pointer?
Why we use #include conio h in c++?
What are literals in C++?
How do you establish a has-a relationship?
Write a program which uses functions like strcmp(), strcpy()? etc
Do vectors start at 0 c++?
Explain unexpected() function?
What is null pointer and void pointer?
What is enum class in c++?
Why the usage of pointers in C++ is not recommended ?
Explain the difference between struct and class in terms of access modifier.