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 overloading in java?

Answer Posted / jephin daviss

Overloading means that the same operator, method maybe used
for different purposes.
It is part of the OOP concept 'Polymorphism'.
1)Method overloading:Methods with same name, but different
argument types and number of arguments.
2)Operator overloading: Same operator can be used for
different ways, ex:'+' can be used for addition and for
concatenation.
3)Constructor overloading: We can define two constructors
for a same class, ie with same name, but difference in
argument types and number of arguments.

Is This Answer Correct ?    10 Yes 7 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the difference between overriding & overloading?

1072


What are the advantages and disadvantages of reference counting in garbage collection?

1030


Which non-unicode letter characters may be used as the first character of an identifier?

1007


Is java good for beginners?

1017


How many digits can a float hold?

1013


What is difference between null and void?

978


What will happen if static modifier is removed from the signature of the main method?

972


How does map works in java?

1007


What checkbox method allows you to tell if a checkbox is checked?

1011


What is void in java?

1084


What types of index data structures can you have in java?

1237


Is an object null?

980


What is the difference between exception and error in java?

1023


What is the constructor?

1061


Which collection is thread safe in java?

997