单选题:For the code below:
For the code below:
JAVA
boolean m = true;
if ( m=false )
System.out.println("False");
else
System.out.println("True");
What is the output? ( )
A.False
B.True
C.None
D.An error will occur when running
答案:B
JAVA
boolean m = true;
if ( m=false )
System.out.println("False");
else
System.out.println("True");
What is the output? ( )
A.False
B.True
C.None
D.An error will occur when running
答案:B