Does Python have abstract classes?

Python doesn’t directly support abstract classes . But it does offer a module that allows you to define abstract classes. To define an abstract class, you use the abc (abstract base class) module. The abc module provides you with the infrastructure for defining abstract base classes.

Sizin İçin Seçtik  Why do we need ABC in Python?

Leave a Reply

Your email address will not be published. Required fields are marked *