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
List some struts tag libraries?
How long do struts last?
What are the ways in which duplicate form submission can occur?
What is the purpose of @before annotation?
What is front controller in struts?
How can duplicate form submission be handled in struts 2?
Lists the bundled validators in struts?
How can we integrate log4j in Struts2 application?
How to upload struts file?
What steps are required to for an application migration from Struts1 to Struts2?
Mark the differences between html tags and strut specific html tags.
What are the major differences between html tags and strut specific html tags?
What is http forward?
Can we have multiple struts config files in a single web app?
What should be the name of xml file used for validation in struts?