Each animal makes a sound use a virtual method in the


1. Implement the following classes: Dog, Frog, Cat, Kitten and Tomcat. All of them are animals (Animal). Animals are characterized by age, name and gender. Each animal makes a sound (use a virtual method in the Animal class). Create an array of different animals and print on the console their name, age and the corresponding sound each one makes.

2. Using Visual Studio generate the class diagrams of the classes from the previous task with it.

Request for Solution File

Ask an Expert for Answer!!
Basic Computer Science: Each animal makes a sound use a virtual method in the
Reference No:- TGS02140563

Expected delivery within 24 Hours