Question: Exercise 2: Create a class called Cat that implement the interface animal and override all of its methods. Test your program in the main class.

Exercise 2: Create a class called Cat that implement the interface animal and override all of its methods. Test your program in the main class. interface Animal { public void eat(); public void makeSound();
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
