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

Why arraylist is not synchronized in java example?

1047


What is variable length arguments in java?

956


What does sizeof return?

976


What data type is string java?

956


what is method reference in java 8?

1026


What is entry set in java?

1113


How many arguments can a method have java?

1014


what are the disadvantages of indexes in oracle?

2533


What is byte data type?

985


Which oo concept is achieved by using overloading and overriding?

1001


Why is singleton not thread safe?

1038


Is math class static in java?

1103


Is hashset ordered java?

1072


What are inner classes or non static nested classes in java?

1168


What are the differences between graph and tree?

1111