战争雷霆乘务员加点:JAVA小选择题
来源:百度文库 编辑:高考问答 时间:2024/05/05 19:02:41
public class Test{
public static void main(String arg[]){
System.out.println(6^3);
}
}
what is the output?
public static void main(String arg[]){
System.out.println(6^3);
}
}
what is the output?
6异或3
6 binary 0110
3 binary 0011
0101 相同为0 不同为1
0101 decimal 5
the printer output char 5
输出5
216