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

Inheritence is the process by which one object acquires the
properties of another object. by using the extends keyword.

Adv:

It is easier to reuse code

Is This Answer Correct ?    40 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what do you understand by synchronization? : Java thread

939


Is a boolean variable?

952


What is polymorphism and what are the types of it?

940


Why is inheritance used in java?

1059


How do you make an arraylist empty in java?

887


How the metacharacters are different from the ordinary characters?

973


What is java english?

910


What is flag in java?

925


Why to use nested classes in java?

1039


What is lazy programming?

958


Can we overload run() method in java?

1116


How much is a java license?

868


What are the data types supported by java? What is autoboxing and unboxing?

932


What is native method in java?

1013


What is the advantage of OOP in java?

1084