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...

What is the difference between overloading and overriding a
function?

Answer Posted / suganthi

Over Loading : when two or methods share the same name but
paramater declaration are diffierent with in a class.
(ex:Compile time polymorpism)

Over ridding: when two or methods share the same name but
paramater declaration are also same in different classes.
(ex:run time polymorpism)

Is This Answer Correct ?    17 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can private method static?

863


What is ph and buffers?

936


What is string builder in java?

949


how would you implement a thread pool? : Java thread

844


What will be the default values of all the elements of an array defined as an instance variable?

984


What is the difference between synchronized and synchronized block?

1001


explain autoboxing in java?

933


What is string syntax?

1004


define the terminology association.

1046


What do you mean by platform independence? What is an interface?

981


What is an image buffer?

917


When is the finally clause of a try-catch-finally statement executed?

966


What modifiers may be used with a top-level class?

995


What is immutable in java?

1006


What is runtime polymorphism or dynamic method dispatch?

967