1.

What Is Inheritance In Oosad?

Answer»

The mechanism by which object-oriented PROGRAMMING languages implement a relationship of generalization and specialization between CLASSES is called inheritance. When we extend a class from an existing class – the existing class is the superclass and the extended class is SUBCLASS. By the RULES of inheritance the subclass inherits all the FEATURES from its superclass.

The mechanism by which object-oriented programming languages implement a relationship of generalization and specialization between classes is called inheritance. When we extend a class from an existing class – the existing class is the superclass and the extended class is subclass. By the rules of inheritance the subclass inherits all the features from its superclass.



Discussion

No Comment Found