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

Explain method overloading and overriding?

Answer Posted / chittaranjan

Method overloading: when a method in a class having the
same method name with different number/type of arguments
with the existense of prevoius meaning also is called
method overloading.
Method Overridding: when a method in a class having the
same method name with same number & type of argument(s)
however there mus not be any existense of previous meaning
is said to be method
overridding.

Is This Answer Correct ?    10 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Hi.... I applied for the post of scientific officer/Engineer-SB(Programmer).Please post the syllabus and sample papers.

2050


How can a gui component handle its own events in java programming?

1079


What is oops in java?

1065


Is intellij better than eclipse?

1142


When will you define a method as static in Java?

1100


Explain importance of inheritance in java?

1075


what is method reference in java 8?

1086


What is the base class in java from which all classes are derived?

1030


Can we have more than one package statement in source file ?

1091


Explain what access modifiers can be used for variables?

1107


What are the pillars of java?

968


Can keyword be used as identifier?

1015


What is nested loop? What is dangling else condition in it?

1134


What is an empty list in java?

1025


What are the various access specifiers in java?

1049