Friends have an application that contains a class Animals from which the mammal class inherits with its attributes and from this inherit two carnivorous and herbivorous classes. Now in a zoo class I have a list of animals which will store two types of objects only (carnivores or herbivores). Now in the same zoological class I want in a method to accede if Carnivore is the object to a certain attribute and if it is Herbivore to an attribute of herbivore. How to make the program identify what object it is and give me its particular attribute. Thanks ...