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
Explain about token feature in struts?
What is the purpose of action-mappings tag in struct-config.xml?
What are the components of struts framework?
State the procedure for using forward attribute of link tag’s.
how to connect from struts to database through hibernet and where u can modify the class
Are interceptors and filters different?
How can we work with error tags?
What is an interceptor stack?
What is action class? What are the types of action class?
How do struts work?
Are struts and shocks the same?
What is the purpose of struts.xml in struct2?
What is dispatch action class?
Why do we need mapdispatchtoprops?
What do you mean by tiles in struts?