मराठी

Based on the above diagram, answer the following; (i) Write the name of the base class and derived classes. (ii) Write the type of inheritance depicted in the above diagram.

Advertisements
Advertisements

प्रश्न

Based on the above diagram, answer the following;

  1. Write the name of the base class and derived classes.
  2. Write the type of inheritance depicted in the above diagram.
अति संक्षिप्त उत्तर
Advertisements

उत्तर

  1. Base is the base class. Derived 1 and Derived 2 are the derived classes.
  2. It depicts hierarchical inheritance, because more than one class inherits from the same base class.
shaalaa.com
  या प्रश्नात किंवा उत्तरात काही त्रुटी आहे का?
पाठ 4: Inheritance - EXERCISE [पृष्ठ ७७]

APPEARS IN

सीबीएसई Computer Science with Python [English] Class 12
पाठ 4 Inheritance
EXERCISE | Q 7. | पृष्ठ ७७
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×