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

Inheritance is the process by which new classes called
derived classes are created from existing classes called
base classes. The derived classes have all the features of
the base class and the programmer can choose to add new
features specific to the newly created derived class.

Is This Answer Correct ?    20 Yes 6 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain the JDB in depth & command line.

1022


What mechanism does java use for memory management?

983


Is main a keyword in java?

985


What is anagram number?

958


What is the difference between length and size in java?

998


What is early binding and late binding in java?

1200


Explain an algorithm to find depth of a binary tree.

1048


Why is java architectural neutral?

1115


Can we override tostring method in java?

975


Can main() method in java can return any data?

1192


Why do we use regex?

1039


What is a lambda expression ? What's its use ?

1117


What is the unit of plancks constant?

1051


Explain the Propertie sof class?

1060


What does system.gc() and runtime.gc() methods do?

1059