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

Define nashorn in java8.

1089


I am a fresher and know core java, c languge, html, css etc if I am illegible for any job then send it on my email tatranakshay276@gmail.com

1736


Why put method is used?

1053


What is math floor in java?

990


How big is a gigabyte?

1103


How does multithreading take place on a computer with a single cpu?

1054


What do you mean by boolean?

1111


What’s the difference between callable and runnable?

1176


What are the different collection views provided by maps?

1041


What is the major advantage of external iteration over internal iteration?

1150


What are different types of expressions?

1188


What is the collections api?

1113


Define "Access specifiers" in java.

1214


Why set do not allow duplicates in java?

1183


Why can't we make a class private in java?

1078