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

Write a program to solve producer consumer problem in java?

960


Is object a data type in java?

1059


What is use of set in java?

940


Write a program to print all permutations of string?

1073


What is difference between local variable and global variable?

956


What is dynamic binding(late binding)?

985


How do you sort in descending order in java using collections sort?

859


What is keyword in oop?

921


What is hashmap and map?

969


Differentiate between class and structure.

1069


What is meant by 'bit masking' in java?

1120


What is the collections api?

1000


What is the applet security manager, and what does it provide?

957


what is static import in java? Explain

967


What is temp in java?

951