← Back to Additional TopicsClass vs Interface / ABC
Additional Topics
The Question
What is the difference between a class and an interface/ABC in Python?
What a Strong Answer Covers
- `abc.ABC` + `@abstractmethod`. TypeError on instantiation. "Can have concrete methods.
Related Questions
Practice This Question
Get AI-graded feedback on your answer with follow-up probes on weak points.
Take the Free Assessment