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 / ankit

IN overloading the function are used in same class, they
have different parameters each time we define the funtion,
and perform the same task.

overriding is used in diferent class with same parameters.

Is This Answer Correct ?    2 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is volatile keyword in java

1126


What is the difference between a local variable and an instance variable?

1109


Can a java program have 2 main methods?

1050


What is close method? How it's different from Finalize & Dispose?

1066


What are the properties of thread?

930


how to handle exceptions in ejb?

2305


What is compiler and what its output.

1152


How do you compare objects in java?

957


Can we override tostring method in java?

971


What is unicode full form?

982


What is the use of protected in java?

1027


What do you mean by platform independence?

1053


What is the maximum size of a string in java?

1103


What is a default constraint?

1070


What is boolean logic?

1025