Question: ****PLZ WRITE THE CODE in BOTH JAVA LANGUAGE AND C++ LANGUAGE. so basically I need 2 CODES THANKS. Instructions Define a Mammal interface that has

****PLZ WRITE THE CODE in BOTH "JAVA" LANGUAGE AND "C++" LANGUAGE. so basically I need "2 CODES" THANKS.
Instructions Define a Mammal interface that has methods speak( ), eat( ), sleep() and mate(). 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
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
