下面的程序的输出结果是什么?public class Mystery { public static void main (String [] args ) {\x09\x09int y, x = 1 , total = 0 ;\x09\x09while (x

来源:学生作业帮助网 编辑:六六作业网 时间:2024/05/21 08:45:56
下面的程序的输出结果是什么?publicclassMystery{publicstaticvoidmain(String[]args){\x09\x09inty,x=1,total=0;\x09\x0

下面的程序的输出结果是什么?public class Mystery { public static void main (String [] args ) {\x09\x09int y, x = 1 , total = 0 ;\x09\x09while (x
下面的程序的输出结果是什么?
public class Mystery {
public static void main (String [] args )
{
\x09\x09int y, x = 1 , total = 0 ;
\x09\x09while (x

下面的程序的输出结果是什么?public class Mystery { public static void main (String [] args ) {\x09\x09int y, x = 1 , total = 0 ;\x09\x09while (x
你好
很高兴为你解答
答案是:死循环,输出
1
1
1
2
1
3
.
满意请采纳,谢谢