下面程序段的输出结果是( )。 public class Test tpubl
题型:单项选择题
问题:
下面程序段的输出结果是( )。 public class Test tpublic static void main(String[] args) { int x=0; for (int i=1;i<=4;i++) {x=4;for(int j=1;j<=3; j++) { x=3; for(int k=1; k<=2; k++) x=x+6;} } System. out. println (x);} }
A.36
B.48
C.144
D.15