Objects & Classes
Model real things in code with classes.
For: Learners heading for developer roles and interviews
0/10 done
Earn a free certificate
Mark all 10 lessons as done and pass a short 5-question quiz to get a verified IT Vizag certificate you can add to LinkedIn.
See a sample certificate →- 1Why objects? Bundle data and behaviour together, as real things do.2 min read
- 2Your first class class, __init__ and self, explained plainly.2 min read
- 3Methods Give your objects actions.2 min read
- 4Special methods __str__, __repr__ and __eq__ make objects print and compare nicely.2 min readFree sign-up
- 5Inheritance Build new classes from existing ones, and when not to.2 min readFree sign-up
- 6Encapsulation and properties Protect an object's data with @property.2 min readFree sign-up
- 7Dataclasses Less boilerplate for classes that mostly hold data.2 min readFree sign-up
- 8AI angle: design classes with AI Brainstorm a class design with AI, then simplify it.2 min readFree sign-up
- 9OOP interview questions The questions Vizag and Hyderabad recruiters ask, with clear answers.3 min readFree sign-up
- 10Mini project: bank account system Accounts, deposits, withdrawals and statements.3 min readFree sign-up
All 10 lessons are free. The first 3 are open to everyone; the rest need a free sign-up.
What to learn next
Advanced Python Features
Comprehensions, generators, decorators and type hints, done properly.
10 lessons · 3 free · 10 ready now
Python Basics
Your first lines of Python, in the browser, with nothing to install.
10 lessons · 3 free · 10 ready now
Decisions & Loops
Make your programs choose and repeat.
9 lessons · 3 free · 9 ready now
Learning with friends is easier — share this course