Oracle Java SE 7 Programmer I (1Z1-803日本語版) (1Z1-803日本語) Free Practice Test
Question 1



Correct Answer: D
Question 2



Correct Answer: D
Question 3



Correct Answer: D
Question 4



Correct Answer: A
Question 5



Correct Answer: C
Question 6



Correct Answer: B
Question 7



Correct Answer: A
Question 8


Correct Answer: E
Question 9
Given:




Correct Answer: C
Question 10

Correct Answer: B,D,E
Question 11

String[][] arra = new String[3][];
arra[0] = new String[]{"rose", "lily"};
arra[1] = new String[]{"apple", "berry","cherry","grapes"};
arra[0] = new String[]{"beans", "carrot","potato"};
// insert code fragment here

Correct Answer: C
Question 12
Given:
public class Test {
static boolean bVar;
public static void main(String[] args) {
boolean bVar1 = true;
int count =8;
do {
System.out.println("Hello Java! " +count);
if (count >= 7) {
bVar1 = false;
}
} while (bVar != bVar1 && count > 4);
count -= 2;
}
}

public class Test {
static boolean bVar;
public static void main(String[] args) {
boolean bVar1 = true;
int count =8;
do {
System.out.println("Hello Java! " +count);
if (count >= 7) {
bVar1 = false;
}
} while (bVar != bVar1 && count > 4);
count -= 2;
}
}

Correct Answer: B