Technical interview guide
OOP & Data Classes
Classes, inheritance, and the @dataclass shortcut for the common case of a class that's mostly just data.
- Read
- 50 min
- Practice MCQs
- 25
- Interview QA
- 25
- Edition
- v2
- Editorial status
- Reviewed
Scope: Python 3.14 object model, dataclasses, typing.Protocol, and abstract base classes.
Interview QA
Treat each question like a live interview question: answer out loud first (structure, assumptions, tradeoffs), then open the model answer to spot gaps and rehearse a tighter follow-up.
Curated: · Written: · Reviewed:
