Python, Programming, Data Science, Artificial Intelligence, Data.
overridden in the derived classes. The Dog and Cat classes inherit from the Animal abstract base class and provide their own implementations of the make_sound method. If we try to instantiate the Animal class directly, it will raise a TypeError because abstract classes cannot be instantiated.