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 / kush singh

Inheritance is a process of inheriting members and member functions of a particular class. This means one class can use the data members and functions of another similar class. This reduces efforts as similar data members or functions do not need to be declared again and again.

Is This Answer Correct ?    4 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is purpose of applet programming?

1239


What is the use of bufferedreader?

1047


How many ways can you break a singleton class in java?

1030


Can I uninstall java?

1111


What is the significance of java packages?

1142


What do you mean by object?

1034


What is a "pure virtual" member function?

1148


How do you invoke a method?

1051


How to disable caching on back button of the browser?

1139


What is difference between class and object in java?

1136


Why is a constant variable important?

999


Do we have pointers in java?

1072


Can a private method of a superclass be declared within a subclass?

1106


Why is stringbuffer not immutable?

1135


What is unicode full form?

1034