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...

What is inheritance?

Answer Posted / sri

Inheritance is a type of relationship among classes, wherein
one class shares the structure or behaviour defined in one
(single inheritance) or more (multiple inheritance) other
classes. Inheritance defines a "kind of" hierarchy among
classes in which a sub class inherits from one or more
super-classes; a sub-class typically augments or redefines
the existing structure and behaviour of its super-classes.

Is This Answer Correct ?    7 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain the concept of multiple inheritance (virtual inheritance). Write about its advantages and disadvantages?

973


What is meant by “abstract interface”?

987


Explain what is polymorphism?

1033


Describe the Diamond problem. Where does this problem occur?

896


Differentiate between overloading and overriding.

1069


Explain about Overloading vs Overriding ?

949


What are the properties that are defined in an object model?

944


Explain about encapsulation?

990


What is the order of call of constructors in inheritiance?

966


What is the @functionalinterface annotation?

911


What is the difference between an abstract class and interface in java?

973


What are the methods required to create changes in subclasses?

964


What is data abstraction? what are the three levels of data abstraction with Example?

937


What do you mean by abstract classes?

1003


What is function override?

1035