Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

How to upload struts file?

976


What is the front controller in struts2?

901


When do I need “struts.jar” on my classpath?

928


How struts 2 validation works?

1018


What configuration changes are required to use resource files in Struts?

985


Explain about the tag?

1054


Why actionservlet is singleton in struts?

963


What configurations are stored in struts configuration file ?

949


What is value stack?

988


What is the purpose of form-be tag in struct-config.xml?

912


How to override the default error message that can come during file uploading process?

990


What are the bundled validators?

972


Is struts mvc framework?

876


Can we have multiple struts config files in a single web app?

900


How do you find the struts version being used in a project?

902