下列程序的运行结果是( )。public class
下列程序的运行结果是( )。
public class Test{
public static void main(String[]args){
int x=3,y=4,z=5;
if(x>3){
if(y>2)
System.out.println(“show one”);
elseSystem.out.println(“show two”);
}else{
if(z>4)
System.out.println(“show three”);
else
System.out.println(“show four”);
}
}
}答案
C