← Back to Additional Topics

Class 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

  • CAP theorem
  • SQL vs NoSQL
  • Big O basics
  • N+1 problem
  • AI tools in workflow

Practice This Question

Get AI-graded feedback on your answer with follow-up probes on weak points.

Take the Free Assessment
GrindQuestionsAITechnical interview assessment
TermsPrivacyAbout