单选题:请阅读下面的程序
请阅读下面的程序
java
public class Example03 {
public static void main(String[] args) {
int x = 8;
if (x > 5) {
System.out.println("a");
} else {
System.out.println("b");
}
}
}
程序的运行结果是( )。
A.true
B.false
C.a
D.b
答案:C
java
public class Example03 {
public static void main(String[] args) {
int x = 8;
if (x > 5) {
System.out.println("a");
} else {
System.out.println("b");
}
}
}
程序的运行结果是( )。
A.true
B.false
C.a
D.b
答案:C