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

Deriving the properties of one class in to another class is called as inheritance.

Existing class is base class and new class is derived class.

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What happens when you add a double value to a string?

1060


What are namespaces in java?

1085


How to split arraylist elements in java?

1234


What are the important features of Java 8 release?

1142


What is the best definition for data?

1027


What is the static field modifier?

1176


How can we pass argument to a function by reference instead of pass by value?

1169


What do you mean by Function Overloading in java?

1226


What is empty list in java?

1137


Where are the local variables stored?

1125


What are the different types of sorting in java?

1026


What is the purpose of the enableevents() method?

1085


Explain jvm, jre, and jdk?

1057


How do you override a method in java?

1054


What are the major advantages of internal iteration over external iteration?

1109