READ Free Dumps For Oracle- 1z0-851
Question ID 3665 | |
Option A | A. Compilation will succeed for all classes and interfaces. |
Option B | B. Compilation of class C will fail because of an error in line 2. |
Option C | C. Compilation of class C will fail because of an error in line 6. |
Option D | D. Compilation of class AImpl will fail because of an error in line 2. |
Correct Answer | C |
Question ID 3666 | Which two code fragments correctly create and initialize a static array of int elements? (Choose two.) |
Option A | A. static final int[] a = { 100,200 }; |
Option B | B. static final int[] a; |
Option C | C. static final int[] a = new int[2]{ 100,200 }; |
Option D | D. static final int[] a; |
Correct Answer | A,B |