Solved

In the Following Code, What Is Missing from ClassA? Line

Question 45

Multiple Choice

In the following code, what is missing from ClassA? Line 1 public interface MyInterface
Line 2 {
Line 3 int FIELDA = 55;
Line 4 public int methodA(double) ;
Line 5 }
Line 6 public class ClassA implements MyInterface
Line 7 {
Line 8 FIELDA = 60;
Line 9 public int methodB(double) { }
Line 10 }


A) It does not override methodA.
B) It does not have a constructor.
C) It does not overload methodA.
D) Nothing is missing. It is a complete class.

Correct Answer:

verifed

Verified

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions