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 is array in java?

1005


What is Java Reflection API? Why it’s so important to have?

1167


Is it possible to use Semaphore/ Mutex in an Interrupt Handler?

1094


Which package has light weight components?

1004


What is java algorithm?

948


What is exception in java?

1091


What is meant by object?

1008


What do you understand by the term string pool?

1013


In the below example, what will be the output?

1032


Can java hashmap have duplicate keys?

1033


What is linked hashmap and its features?

1010


What is multithreading in java?

1057


what is recursion in java

1181


What is the main use of java?

1173


How to print nodes of a Binary tree?

2252