Question 31
Given the code fragment:
What is the result?
Question 32
Given:
Which two statements are valid to be written in this interface? (Choose two.)
Question 33
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);
}
}
Question 34
Given:
/code/a/Test.java
containing:
and
/code/b/Best.java
containing:
package b;
public class Best { }
Which is the valid way to generate bytecode for all classes?
Question 35
Given:
What is the result?


