下列程序的运行结果是()。 public class School { public static int x = 10; public static void print(){ x++; System.out.println(x); } public static void main(String[] args) { School s = new School(); s.print(); } }
A.编译错误
B.10
C.11
D.x
平凡之路4245 1楼
快乐颗粒 2楼
郝林欢 3楼
龙之吻1代 4楼
努力吧少年 5楼
holy111 6楼
QQ附近 7楼
null008 8楼
Future灬 9楼
1328812415 10楼
孙益辉 11楼
勿忘初衷 12楼
徐辉00 13楼
14楼
萧萧疏雨坠 15楼
做题数5122
做题数1079
做题数908
做题数832
做题数799
做题数770