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 / javaguy

About said are absolutely correct. I would like to add some
more to method override.

The class/program who is overriding method should have
orverriding method visibility / access modifiers should be
same are greater but should not be lower.

Is This Answer Correct ?    9 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How do listeners work?

982


What are the differences between forwarding () method and sendredirect() methods?

1055


What is difference between char array and string?

1048


what is method reference in java 8?

977


What are the changes in java.io in java 8 ?

966


What is main string [] args?

941


What is final?

1004


What is data structure in java?

936


What is the use of a copy constructor?

946


Is a case study a method or methodology?

848


What are implicit objects in java?

934


can used Protected Class outside Function.?

1055


Why we override equals() method?

981


What is field name?

948


What will happen if there is a default method conflict as mentioned above and we have specified the same signature method in the base class instead of overriding in the existing class ?

897