1. class Passer2 {
2. //insert code here
3. static int bigState = 42;
4. public static void main(String [] args) {
5. bigState = p2.go(bigState);
6. System.out.print(bigState);
7. }
8. int go(int x) {
9. return ++x;
10. }
11. }
和4段代碼片段:
static Passer2 p2 = new Passer2();
final static Passer2 p2 = new Passer2();
private static Passer2 p2 = new Passer2();
final private static Passer2 p2 = new Passer2();
有多少行分別插入到第2行,可以編譯?()