explain inheritance .
Answers
Answered by
1
Answer:
In object-oriented programming, inheritance is the mechanism of basing an object or class upon another object (prototype-based inheritance) or class (class-based inheritance), retaining similar implementation. ... An inherited class is called a subclass of its parent class or super class.
Answered by
1
Answer:
In object-oriented programming, inheritance is the mechanism of basing an object or class upon another object (prototype-based inheritance) or class (class-based inheritance), retaining similar implementation. ... An inherited class is called a subclass of its parent class or super class.
Similar questions