Inheritance

Base classes(child class) can inherit attributes and behavior from pre-existing classes (superclasses, parent classes)

Single level inheritance


 





Leave a Reply.