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...

There are 2 methods in a class. Both have the same method
signature except for return types. Is this overloading or
overriding or what is it?

Answer Posted / vikneswarank

Its a overLoading .because overriding have two diff class
and return type also same

but overloading have one class,and it have same method name
and diff signature.

Is This Answer Correct ?    3 Yes 8 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the advantages of compiled language?

1071


Are private methods final?

901


Which method cannot be overridden in java?

986


What is the file extension for java?

1066


Describe different states of a thread.

997


What is the program compilation process?

1103


What are the ways to instantiate the class class?

1099


How do you convert int to char in java?

1063


What is the purpose of final keyword and when to use it?

997


What is difference between hashset and hashmap?

1109


How many bits is size_t?

983


In how many ways we can create threads in java?

1203


What is collection class in java?

997


Are registers volatile?

933


What is a stack class in java ?

1103