单项选择题
A.1
B.2
C.3
D.4
单项选择题 5. class Passer3 { 6. final static Passer3 p2 = new Passer3(); 7. public static void main(String [] args) { 8. Passer3 p4 = p2.go(p2); 9. Passer3 p3 = p2; 10. System.out.print(p3==p4); 11. } 12. Passer3 go(Passer3 p) { 13. p = new Passer3(); 14. return p; 15. } 16. } 结果为:()
单项选择题 class Flibitz { public static void main(String [] args) { int grop = 7; new Flibitz().go(grop); System.out.print(grop); } void go(int grop) { if(++grop 〉 7) grop++; System.out.print(grop); } } 结果为:()
单项选择题 class Wrench2 { int size; public static void main(String [] args) { Wrench2 w = new Wrench2(); w.size = 9; Wrench2 w2 = go(w, w.size); System.out.print(w2.size); } static Wrench2 go(Wrench2 wr, int s) { s = 7; return wr; } } 结果为:()