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

how to create multithreaded program? : Java thread

902


Is Java a dying language?

1040


What are the two environment variables that must be set in order to run any java programs?

914


How many decimal digits is 64 bit?

884


Why is method overloading not possible by changing the return type in java?

955


What is difference overloading and overriding?

1095


Why can we not override static method?

1069


what is thread? What are the high-level thread states? Or what are the states associated in the thread? : Java thread

948


How do I find and replace in word?

926


What are the different types of inheritance in java?

953


Is arraylist ordered?

1009


Can java list contain duplicates?

964


What are decalarations?

1067


What is java in detail?

1029


Difference between method overloading and method overriding in java ?

1035