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

What is the difference between stringbuffer and stringbuilder class?

1092


What is the difference between the direct buffer and non-direct buffer in java?

1023


Why can we not override static method?

1103


What is type safety in java?

943


What is ascii format?

985


What is the final class?

1048


Which variables are stored in stack?

893


What is the use of default method in interface in java?

1005


How many types of literals are there in JAVA?

1041


How are this() and super() used with constructors in java programming?

1057


Which category the java thread do fall in?

993


Define an abstract class with reference to java.

991


Explain constructors and types of constructors in java.

1097


Which sort is best in java?

951


What is meant by nested loop?

1032