给定Java代码如下,编译运行后,输出结果是()。 public class Test { static int i; public int aMethod() { i++; return i; } public static void main(String[] args) { Test test=new Test(); test.aMethod(); System.out.println(test.aMethod()); } }
A.1
B.2
C.3
平凡之路4245 1楼
努力吧少年 2楼
holy111 3楼
QQ附近 4楼
null008 5楼
徐辉00 6楼
萧萧疏雨坠 7楼
悠闲自在 8楼
富贵鱼1 9楼
zzz123ww 10楼
涅槃出世 11楼
Donc 12楼
朱淑林 13楼
MMMMNMM 14楼
CC何何 15楼
做题数5122
做题数1079
做题数908
做题数832
做题数799
做题数770