Question: Can you please do that in C++? Instructions Define a Mammal interface that has methods speak( ), eat ), sleep() and matel). Then implement classes

Can you please do that in C++?
Instructions Define a Mammal interface that has methods speak( ), eat ), sleep() and matel). Then implement classes for Feline, Canine, and Bovine, which implement this interface, with the obvious meanings for the speak(), eat(), sleep() and mate() methods. Also implement classes, Tiger, Lion, Bull, and Wo, which have the appropriate inheritance relationships. Finally, write a simple user interface, which allows users to create animal of the various types, allow them to make sounds, then mate with animals of the same species, and eat other species that are not there own. Submissions No submissions yet. Drag and drop to upload your assignment below. Instructions Define a Mammal interface that has methods speak( ), eat ), sleep() and matel). Then implement classes for Feline, Canine, and Bovine, which implement this interface, with the obvious meanings for the speak(), eat(), sleep() and mate() methods. Also implement classes, Tiger, Lion, Bull, and Wo, which have the appropriate inheritance relationships. Finally, write a simple user interface, which allows users to create animal of the various types, allow them to make sounds, then mate with animals of the same species, and eat other species that are not there own. Submissions No submissions yet. Drag and drop to upload your assignment below
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
