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 collection api?

1104


What is a parameter example?

1024


What is the use of arraylist in java?

1153


How do you reverse a string in java?

1201


Does isempty check for null?

1067


Is double bigger than float?

1038


What is class forname used for?

1101


What is string literal in java?

1094


What do you mean by a JVM?

1345


What are the methods used to implement for the key object in the hash map?

1086


Is java owned by oracle?

1068


What are the different types of collections in java?

1012


Explain the selection sort algorithm and state its time complexity?

1067


How do you find the maximum number from an array without comparing and sorting?

1174


What is a percentage sign called?

1188