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 overloading and overriding?

Answer Posted / chittaranjan

Method overloading: when a method in a class having the
same method name with different number/type of arguments
with the existense of prevoius meaning also is called
method overloading.
Method Overridding: when a method in a class having the
same method name with same number & type of argument(s)
however there mus not be any existense of previous meaning
is said to be method
overridding.

Is This Answer Correct ?    10 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What do you mean by stack?

1148


What is the purpose of using java.lang.class class?

1006


Does printwriter create a file?

953


What is the common usage of serialization?

1133


What is abstract class? Explain

1038


What is number data type?

1023


If system.exit (0); is written at the end of the try block, will the finally block still execute?

1102


What is a flag and how does it work?

993


Why is multiple inheritance not supported in java?

1023


What is literal example?

940


What is java in layman terms?

1001


How many types of parsers are there?

1014


How do you download stubs from Remote place?

1778


What is general methodology?

1034


What does singleton mean in java?

993