هل من الممكن تشرحين هذا السؤال ؟ وماهو المطلوب بالضبط ؟
The management department of a zoo is decided to manage the information of animals electronically. This zoo has a lot of animals of different classes such as mammals, birds, reptiles, fish, amphibians, and Arthropods. Each animal has a popular name and scientific name. Also, It is necessary to keep the type of the food each animal can eat and its original
Extract the attributes and create a class with a meaningful name .
Provide a parameterized constructor that initializes the scientific and
popular names of the animal.
Provide a destructor that prints :
" An animal of the following information is exited from the zoo : "
And prints the animal's info