Polymorphism
Polymorphism
___/ Class
Polymorphism Date
3. Create an animal class. This will be a parent class for later questions.[1]
Cat Class
Breed: The breed of the cat (e.g., Siamese, Persian).
Indoor/Outdoor: A boolean indicating whether the cat is an indoor cat, an outdoor cat, or both.
Hunting Skill: A measure or description of the cat's ability to hunt.
Independence Level: An indicator of how independent the cat is.
Bird Class
Species: The specific species of the bird (e.g., Parrot, Canary).
Wing Span: The length of the bird's wingspan.
Migratory Pattern: Information about whether the bird is migratory and details of its migration.
Song Variety: A description or measure of the variety and complexity of the bird's song.
● Tasks: