Oracle 1Z0-815 Actual Free Exam Questions & Community Discussion
Which two statements are true about Java modules? (Choose two.)
Correct Answer: D,E
Vote an answer
Explanation: Only visible for EduDump members. You can sign-up / login (it's free).
Given the code fragment:

Which "for" loop produces the same output?

Which "for" loop produces the same output?
Correct Answer: C
Vote an answer
Given the for loop construct:
for ( expr1 ; expr2 ; expr3 ) {
statement;
}
Which two statements are true?
for ( expr1 ; expr2 ; expr3 ) {
statement;
}
Which two statements are true?
Correct Answer: A,D
Vote an answer
Explanation: Only visible for EduDump members. You can sign-up / login (it's free).
Given:

Which two statements are valid to be written in this interface? (Choose two.)

Which two statements are valid to be written in this interface? (Choose two.)
Correct Answer: B,C
Vote an answer
Given:

What is the result?

What is the result?
Correct Answer: A
Vote an answer
Explanation: Only visible for EduDump members. You can sign-up / login (it's free).
What is the result?
Class StaticField {
static int i = 7;
public static void main(String[] args) {
StaticFied obj = new StaticField();
obj.i++;
StaticField.i++;
obj.i++;
System.out.println(StaticField.i + " "+ obj.i);
}
}
Class StaticField {
static int i = 7;
public static void main(String[] args) {
StaticFied obj = new StaticField();
obj.i++;
StaticField.i++;
obj.i++;
System.out.println(StaticField.i + " "+ obj.i);
}
}
Correct Answer: A
Vote an answer
0
0
0
10


