Skip to content

Latest commit

 

History

History
4 lines (4 loc) · 373 Bytes

README.md

File metadata and controls

4 lines (4 loc) · 373 Bytes

Description

This Python program is demonstrating inheritance and abstraction with animal classes (Horse, Cat, Dog) inheriting from an abstract Animal class. The Animal class serves as an abstract base class defining common attributes and an abstract method for producing the sound of an animal, which will be implemented in the subclasses.

Example