1. Home
  2. Data Science
  3. Python
  4. Which module is used to create abstract base classes in…

Added 25 Nov 2026

Which module is used to create abstract base classes in Python?

  1. abstract
  2. base
  3. abc Correct answer
  4. oop

Correct answer

C. abc

5 views

MCQSEXAM

Explanation

The abc module provides ABC and abstractmethod.

Reference

Asked in: Python Interview OOP

https://docs.python.org/3/tutorial/classes.html

Preparing for an exam?

Doubts & discussion

Not sure why the answer is C? Ask here and get an explanation.

Ask a doubt about this MCQ

Shown after review. No links please.

More Python MCQs

Practise all Python MCQs

Similar MCQs