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 what an object is.

1071


What is meant by overloading functions and operators?

1067


What are the major differences between late and dynamic binding?

994


What is the abstract method modifier?

1019


How to define an abstract class?

1027


What is the difference between oop and sop?

1394


State about java and its relation to object oriented programming?

1046


Are constructors inherited? Can a subclass call the parent's class constructor? When?

995


Write down how will you create a Binary tree?

1018


Explain about inheritance hierarchies?

969


What does the “abstract” keyword mean in front of a method? A class?

981


How many instances can be created for an abstract class?

958


What are different ways to create string object?

1141


What is composition? Explain the purpose of composition.

969


Explain OOPS.

1068