In the following code, which line in ClassA has an error?

```
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 methodA(double) { }
Line 10 }

```

a. Line 6 b. Line 7 c. Line 8 d. Line 9

c. Line 8

Computer Science & Information Technology

You might also like to view...

Give three examples of how you could use Goal Seek. Describe how Goal Seek uses iteration to find the solution

What will be an ideal response?

Computer Science & Information Technology

A client's program can include a header file via the ____ statement.

A. pragma B. include C. using D. matching

Computer Science & Information Technology