万能百科  > 计算机   > 

[填空题] 下列程序输出结果为 【15】 。public class test{ public static void main(String args[])

2021-07-20   

[填空题] 下列程序输出结果为 【15】 。public class test{ public static void main(String args[]) {int a=0;outer: for(int i=0;i<2;i++) { for(int j=0;j<2;j++) { if(j>i) { continue outer; } a++; } } System. out. println(a);}}

正确答案:

C

词条内容仅供参考,如果您需要解决具体问题
(尤其在法律、医学等领域),建议您咨询相关领域专业人士。

标签