explain method overridding method overloding with examples?
Answer Posted / manoj jain
overriding and overloading both are type polymorphism.
overloading:-more then one functions or constructors have
same name but different signature is called overloading.
this is also called compile time polymorphism or static
polymorphism.
overriding:-method in child class has same name as in
parent class(function name and signature will be same in
parent and child class)that is called overriding.
child class method hides parent class method it is also
called bynamic binding or runtime polymprphism
| Is This Answer Correct ? | 11 Yes | 0 No |
Post New Answer View All Answers
How is the mvc design pattern used in struts framework?
what is meant by Struts Validator Framework?
What is http forward?
When it’s useful to use IncludeAction?
What are the core classes of struts?
How action-mapping tag is used for request forwarding in struts configuration file?
Lists the bundled validators in struts?
How action mapping is configured in Struts?
What are different ways to create Action classes in Struts2?
Why do we use struts?
What are the benefits of Struts framework?
How to explain Software Bank Loan descriptions
What are result types in struts?
What is actionmapping?
What is jakarta struts framework?