public class Thing {
private int x;
public static int peek() {
return this.x;
}
}
// ...What is the result?
- Acheck_circle
Compile-time error
- B
0
- C
Run-time error
- D
null
Explanation
The keyword this cannot appear in a static context because no instance exists.