Friday, November 6, 2020

Object Oriented Programming in Python – Aided with Diagrams

 


Description

This course includes;


-Class,


-Objects,


-Inheritance (Multi-level and Multi-layers of Inheritance)


-Overriding the functionality of Parent Class


-Method Resolution Order


-Operator Overloading


with concepts, diagrams, syntax and examples and

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)












Disclaimer: This Course is by Udemy, Course description is from udemy

0 Comments:

We’re eager to see your comment. However, Please Keep in mind that all comments are moderated manually by our human reviewers according to our comment policy, and all the links are nofollow. Using Keywords in the name field area is forbidden. Let’s enjoy a personal and evocative conversation.