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 restrictions are placed on method overloading and
method overriding?

Answer Posted / aditya mohata

in method overloading we hav to hav the methods in the same
class n they hav to hav diff signatures so as to avoid
ambiguity.they hav to hav the same method name.

in method overriding we hav to hav the same name of the
methods n hav to hav them in different classes with same
signatures.

Is This Answer Correct ?    12 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is string pooling concept?

1154


How does callback work in java?

1121


What is meant by oops concept in java?

1051


What are the differences between heap and stack memory in java?

1105


Explain the difference between abstract class and interface in java?

1044


Which of the classes will have more memory allocated?

1019


What is the purpose of using java.lang.class class?

1058


What is tree in java?

991


Explain about interrupt() method of thread class ?

1172


Can a serialized object be transferred via network?

1023


Why pass by reference is not possible in java?

1108


What are the types of literals?

1268


How large is a boolean?

1063


What is the primary benefit of encapsulation?

1153


Why is a string immutable?

1067