define the concept of inheritance inheritance is


Define the concept of Inheritance

Inheritance is property of reusing the code within the object oriented development. While modelling, we look at the all the classes, and try to group similar classes together so that code reuse can be applied. Generalization, specialization, and inheritance all have a very close association. Generalization is used to indicate the relationship between classes, and this feature generalization relationship is used by inheritance for sharing attributes and operations. In respect of inheritance, specialization and generalization are two phases of a coin in such a way that if a   subclass is seen from a superclass that subclass is seen as a specialized version of   superclass and vice versa, a superclass looks like general form of subclass.

 

Request for Solution File

Ask an Expert for Answer!!
Computer Engineering: define the concept of inheritance inheritance is
Reference No:- TGS0332924

Expected delivery within 24 Hours