Question: Using the interface and class definitions below. Write the headings of the methods which still need to be defined in the class Class2. Public interface
Using the interface and class definitions below. Write the headings of the methods which still need to be defined in the class Class2. Public interface Interface1 {public float method1 (int 1);} public interface Interface2 extends Interface1 {public int method2 (int i); public void method3(int i);} public abstract class Classs1 {public float method1 (int anInt) {return anInt * 2.0f;} public abstract void method3 (Object anObject); public abstract void method4(int anInt);} public class Class2 extends Class1 implements Interface2 {public void method3 (int anInt) {system.out.println(anInt);} What method headings still need definition here?} List the headings of methods still required to be defined in Class2
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
