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 the concept of inheritance with an example?

Answer Posted / kk

Inheritance is the process of extending the properties of super class to sub class(methods and variables) if required overriding the properties(methods)
eg...
child having(extended) the Characters(Behavior) of father.

Is This Answer Correct ?    8 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Outline the major features of java.

1074


How does arraylist work in java?

1110


What an i/o filter?

1011


What are user defined exceptions?

1038


What is update method called?

1151


What is the purpose of garbage collection in java, and when is it used?

1033


Can we have a try block without catch block?

981


Can we change the scope of the overridden method in the subclass?

1387


What is the difference between multiple processes and multiple threads?

1196


What are nested classes in java?

1108


What is udp in java?

967


How do you implement polymorphism in our day to day life?

3229


What is the purpose of object oriented programming?

970


What is the difference between an if statement and a switch statement?

1158


How will you call an Applet using Java Script Function?

1026