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 is null c++?
What are the two types of comments?
What gives the current position of the put pointer?
What's the most powerful programming language?
What can c++ be used for?
Should I learn c or c++ or c#?
Can you be able to identify between straight- through and cross- over cable wiring? And in what case do you use straight- through and cross-over?
What is #include cmath?
Why do you use the namespace feature?
Explain one method to process an entire string as one unit?
How can you link a c program with a c function?
What is the difference between #define debug 0 and #undef debug?
Should I learn c or c++ first?
Mention the storage classes in c++.
What methods can be overridden in java?