1z1-815 Exam Question 1
Which is the correct order of possible statements in the structure of a Java class file?
1z1-815 Exam Question 2
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);
}
}
1z1-815 Exam Question 3
What makes Java dynamic?
1z1-815 Exam Question 4
Given:

executed using command:
java Hello "Hello World" Hello World
What is the output?

executed using command:
java Hello "Hello World" Hello World
What is the output?
1z1-815 Exam Question 5
Which three initialization statements are correct? (Choose three.)
int x = 12_34;
int x = 12_34;