I have a homework assignment coming up that I am a bit confused on. The assignment basically states that we are to use Multiple Inheritance/Polymorphism to make 21 classes in a hierarchical manner. I know how the hierarchy is supposed to look on paper but I was wondering exactly what syntax I should be using for this.
First few examples are Organism(head of "tree", Animal(child of organism), Plant(child of organism), Ectotherm(child of Animal), and Endotherm (child of Animal), etc...