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’s the difference between unit, integration and functional testing?

1157


Can we override constructor in java?

1136


Is a method a procedure?

1100


What is the instance of an object?

1267


Difference between current previous versions of Java?

1077


Explain the importance of thread scheduler in java?

1057


what is use of functional interface in java 8?

1087


what is thread? What are the high-level thread states? Or what are the states associated in the thread? : Java thread

1037


Can singleton class be serialized?

1007


What is class and object in java?

1060


How to do encapsulation in java?

1102


What is java used for?

1059


Explain the difference between the public, private, final, protected, and default modifiers?

1092


Can you explain the meaning of aggregation and composition

1067


Explain heap sort?

1166