Object-Oriented Programming in Python
INTERMEDIATE
#python
Author: Sofiia Piustonen
Course description
The object-oriented paradigm allows developers to create and structure programs using objects with predefined behavior. This is a widely used style of software organization that is easy for the development team to understand. Like most other programming languages, Python supports and implements this paradigm.
Complete all chapters to get certificate
0%
Classes and Objects
The first step is to understand the key statements. Classes, objects, attributes, methods...
Classes
Objects
Implementation
Unique Object
Constructor
Encapsulation
Encapsulation provides access to the methods and attributes of the class.
Private and Public Concepts
Get and Set
Attributes Annotations
Inheritance
Inheritance's main idea is to use already defined classes and produce new ones by improving and extending some other classes.
Inheritance
Challenge
Method super()
Polymorphism
This OOP principle allows the user to change the parent class functionality and adapt it to the children's class.
Polymorphism
Challenge