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

Method overloading: when a method in a class having the
same method name with different arguments is said to be
method overloading.
Method Overridding: when a method in a class having the
same method name with same arguments is said to be method
overridding.

Is This Answer Correct ?    21 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How do you use find and replace?

1004


When should I use singleton?

1100


What does g mean in regex?

1031


What is the base class of all classes?

1106


What is difference between fail-fast and fail-safe?

1283


explain multi-threading in java?

1085


How we can declare a static variable?

1151


What are the types of java languages?

1036


What is a java lambda expression?

1099


State one difference between a template class and class template.

1111


Which one will take more memory: an int or integer?

1283


What is logical variable?

1040


What are thread local variables?

1232


What is method overloading in JAVA? Why is it not present in C ?

1144


What will happen if static modifier is removed from the signature of the main method?

1014