题目内容
(请给出正确答案)
[主观题]
运行下面程序后,正确的输出结果是()。 public class Sun { public static void main(String args[
运行下面程序后,正确的输出结果是()。
public class Sun
{
public static void main(String args[ ])
{
int x=6;
if(x>6)
System.out.println("x>6");
else
if(x<8)
System.out.println("x<8");
else
if(x==6)
System.out.println("x=6");
}
}
A.x<8x=6
B.x<8
C.x=6
D.x<8或x=6
提问人:网友wadehua9742
发布时间:2022-01-07