Object-Oriented Programming
Master OOP in Python: classes, objects, inheritance, polymorphism, encapsulation, abstraction, magic methods, SOLID and design patterns, then build a real system.
Every lesson runs real code in your browser, checked the moment you submit. No installing anything, no setup, no waiting.
Start Object-Oriented Programming freeWhat this course covers
- Why Object-Oriented Programming?
- Object Identity, Instance Dicts, and the Lookup Chain
- The __init__ Constructor
- Methods and self
- Encapsulation
- Properties (getters and setters)
- Descriptors: the Magic Behind @property
- Class vs Instance Attributes
- Class Methods and Static Methods
- MRO, Diamond Problem, and Cooperative super()
- Polymorphism
- Abstraction with ABC
- Advanced Dunder Methods: call, getattr, slots, Context Managers
- Composition vs Inheritance
- Dataclasses
- Custom Exception Classes
- The SOLID Principles
- Common Design Patterns
- Capstone: Build a System
Other courses
Learn to think like a problem-solver before you write a single line of code. Break big …
Your first Python course, no experience needed. Learn variables, loops, functions, and …
Level up your Python with comprehensions, lambdas, error handling, files, modules, and …
Go deeper in Python: decorators, generators, type hints, regex, JSON, SQLite, testing, …
Core CS: arrays, lists, stacks, queues, hash tables, trees, graphs, sorting, searching,…
Build your own 2D games from scratch: the game loop, sprites, movement, collisions, and…
Learn Java from zero, with no programming background needed. Write your first program, …
Learn C++ from zero, with no programming background needed. Start with your first progr…
Learn C from zero, with no programming background needed. The language that Unix, Linux…
Learn JavaScript from scratch: variables, types, loops, functions, arrays and objects, …
Build for the browser: structure pages with HTML, style them with CSS, then use live AP…
Put Python behind the browser: Flask routes, forms, APIs, the requests library, and ful…