Composition in Python
Hand pointing with pen to music book with handwritten notes

Composition in Python

What is Composition:- As the name implies , In composition one of the classes is "composed" of one or more instance of other classes. In other words one class is…

Continue Reading Composition in Python

Inheritance in Python

Introduction:- One of the major advantages of Object Oriented Programming is re-use. Inheritance is one of the mechanisms to achieve it. In inheritance, a class (usually called superclass/parent class) is…

Continue Reading Inheritance in Python