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...

Attributes that are underlined on an entity-relationship diagram:

A) are the names of external entities. B) can be searched for. C) represent virtual organizational components. D) are used to create attributive entities.

Computer Science & Information Technology

System software is a collection of programs.

Answer the following statement true (T) or false (F)

Computer Science & Information Technology

Which of the following is NOT a description of an Intel CPU?

A. i7 B. Xeon C. 940 D. Sandybridge E. Pentium F. LGA

Computer Science & Information Technology

A technician finds the inside of a desktop computer completely covered in almost 1 inch (2.54 centimeters) of dust. Which of the following would be the BEST solution to clean out the inside of the case?

A. Wet rag B. Compressed air C. Lint free cloth D. Dry rag

Computer Science & Information Technology