Multiple Choice
In the following code, which line has an error? Line 1 public interface Interface1
Line 2 {
Line 3 int FIELDA = 55;
Line 4 public int methodA(double) {}
Line 5 }
A) Line 1
B) Line 2
C) Line 3
D) Line 4
Correct Answer:

Verified
Correct Answer:
Verified
Related Questions
Q30: In Java, a reference variable is _
Q31: Given the following code: Line 1 public
Q32: A subclass may call an overridden superclass
Q33: You can write a super statement that
Q34: Which of the following is an example
Q36: If two methods have the same name
Q37: Which of the following statements correctly specifies
Q38: Given the following code: Line 1 public
Q39: Replacing inadequate superclass methods with more suitable
Q40: A(n) _ method is a method that