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

Distinguish method overloading and method overriding

Answer Posted / sushila

method overloading is method name should be same but
signature should be different.

method overriding is method name and arguments should be
same but return type will be same or wider.

Is This Answer Correct ?    0 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the advantages of defining packages in java?

931


Describe 2 different ways to concatenate two strings.

1148


What is a java predicate?

922


If an application has multiple classes in it, is it okay to have a main method in more than one class?

972


What is the purpose of finalization in java programming?

992


How do I get 64 bit java?

1024


How many arguments can be passed to main ()?

946


Are arrays immutable in java?

1021


What is the size of int in 64-bit jvm?

1023


What is difference between length and length() method in java ?

946


What is the difference between member variables initialization and assignment in a constructor?

1187


Is java free for commercial?

871


Can we override constructors in java?

1079


How do you escape sequences in java?

1013


Mention the default values of all the elements of an array defined as an instance variable.

934