TowardsMachineLearning

October 2019

Public,Protected & Private members in Python

Introduction A lot of people learn object-oriented programming with languages like C++ and Java. And while they learn, they’re told over and over again that encapsulation is one of the key principles of object-oriented paradigm and that they should take advantage of it. In C++ and Java, things are pretty straight-forward. There are 3 magical and easy

Public,Protected & Private members in Python Read More »

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 inherited by another class (usually called subclass/child class/derived class). The subclass adds some attributes to superclass. In inheritance, the child class acquires the properties and

Inheritance in Python Read More »