
Object-oriented programming (OOP) is a programming paradigm based on the concept of "objects", which can contain data and code: data in the form of fields (often known as attributes or properties), and code, in the form of procedures (often known as methods).
A feature of objects is that an object's own procedures can access and often modify the data fields of itself (objects have a notion of this or self). In OOP, computer programs are designed by making them out of objects that interact with one another.
OOP languages are diverse, but the most popular ones are class-based, meaning that objects are instances of classes, which also determine their types.
Many of the most widely used programming languages (such as C++, Java, Python, etc.) are multi-paradigm and they support object-oriented programming to a greater or lesser degree, typically in combination with imperative, procedural programming.
In this course you are going to learn about Object Oriented Programming in Python in new different way. In this course you are going to learn about:
- Inheritance
- Object Resolution Method
- Multiple Inheritance And Multi level Inheritance
- Operator Overloading
Some of the Common Operator Overloading Special Functions in Python
# Operator Expression Internally
# Addition p1 + p2 p1.__add__(p2)
# Subtraction p1 - p2 p1.__sub__(p2)
# Multiplication p1 * p2 p1.__mul__(p2)
# Power p1 ** p2 p1.__pow__(p2)
# Division p1 / p2 p1.__truediv__(p2)