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 are the data types supported by java? What is autoboxing and unboxing?

1065


Explain creating threads by implementing runnable class?

1240


Explain all java features with real time examples

1764


What is a databasemetadata?

994


What is the use of using enum to declare a constant?

1080


What are the rules for naming an array?

1108


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

1115


What is a nonetype?

1175


What is a file pointer?

1169


What are the benefits of operations in java?

1129


What is scope & storage allocation of static, local and register variables? Explain with an example.

1053


Why java is called not pure object oriented language?

1077


Why put method is used?

1054


What is the range of the short type?

1063


Add a value x to array from index l to r where 0 <= l <= r <= n-1

1133