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 about method overloading and method overriding with
difficult examples

Answer Posted / bhasker

Method Overloading:
--------------------
Method Overloading is nothing but the method name is
same and the number of parameters and types of parameters
are different.

Method Overriding:
--------------------
Method Overriding is nothing nut the super class
method signatuer we can inherit to the sub class method
signature is shoub be same.

Is This Answer Correct ?    12 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain 5 io best practices?

975


How do you start a thread?

975


Using callable statement how can you pass out parameters, explain with example?

1163


Define a package.

1007


What is a boolean expression in java?

977


Does list maintain insertion order java?

852


Difference between operator overloading and function overloading

1010


Which sort is best in java?

901


What is java argument list?

878


Can you explain the private protected field modifier?

962


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 ?

895


Explain naming conventions for packages?

951


How do you take thread dump in java?

939


Explain the difference between transient and volatile in java?

951


How to create an immutable class?

1030