Question: Please answer using **JAVA** Consider the following interface, a class that implements it, and a Tester class for problems 12- 17. public interface Time {

Please answer using **JAVA**

Please answer using **JAVA** Consider the following interface, a class that implements

it, and a Tester class for problems 12- 17. public interface Time

Consider the following interface, a class that implements it, and a Tester class for problems 12- 17. public interface Time { int seconds(int s); int minutes(int m); int hours(int h); } public class Clock implements Time { public int seconds(ints) {...some code... } public int minutes(int m) {...some code...} public int hours(int h) {...some code...} public double ticker(String s) {...some code... } } public class Tester { public static void main(String[] args) Time objT= new Clock(); Clock objC = new Clock(); } 12. Of what type is object objI? 13. Of what type is object objC? 14. Make a list of the methods available to object objI. 15. Make a list of the methods available to object objC. 3 3 Name: ID: A 16. What is returned by objI instance of Time! 17. What is returned by objI instanceof Clock

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!