Question: d. Assume you are in another class called TestCinema; Write a main method that will create an object of type Cinema and then print out
d. Assume you are in another class called TestCinema; Write a main method that will create an object of type Cinema and then print out both data values, cinema location and number of seats. Q9:(4 Points) If we have the following interface definition public interface Animal ( publia void eato public void talk O: Write the class Dog that implements the interface Animal (each method needs to print a message about the dog)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
