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

can any one tell me when do u go for inheritance and
polymorphism

Answer Posted / kishor kommulas

Inheritance:::

If you want to make use of the functionality of the method,
which is already there then you can go for the inheritance.

Polymorphism::::

If you want to use the same method name for different
method,then you can go for Polymorphism.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the difference between a choice and a list?

1024


What is the public field modifier?

965


What do you know about the garbage collector in java?

1038


How to disable caching on back button of the browser?

1007


What is the difference between heap memory and stack memory?

1015


What is the exact difference in between Unicast and Multicast object? Where will it be used?

1000


What is string data type?

908


What is meant by null and void?

927


Can a class with private constructor be extended?

879


What is java util hashmap?

943


Is alive in java?

900


Does sprintf allocate memory?

1045


Given a singly linked list, find the middle of the list in a single traversal without using temporary variable.

998


Is it possible to instantiate the abstract class?

913


What are the different collection views provided by maps?

933