I think you almost answer your own question. Create a class-hierarchy with the “Animal”-interface as the top-node.
I made an example of the hierarchy here.
Also, inheritance and polymorphi is some of the essentials of OOP, so I don’t get your last sentence.
solved about OOP and inherited classes