计算书是什么:JAVA小选择题

来源:百度文库 编辑:查人人中国名人网 时间:2024/05/04 15:03:15
public class Test{
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