摘要:
执行结果截图: 代码: public class BitwiseAndShiftOperators { public static void main(String[] args) { // 位运算,不要轻易使用位运算,很容易出错 // 十进制的60用二进制表示为0011 1100, 即32+16+ 阅读全文
posted @ 2021-12-11 17:36
JohnnyH
阅读(123)
评论(0)
推荐(0)
摘要:
执行结果截图 代码: public class LogicalOperator { public static void main(String[] args) { // 与(and) 或(or) 非(取反) boolean a = true; boolean b = false; System.o 阅读全文
posted @ 2021-12-11 13:00
JohnnyH
阅读(102)
评论(0)
推荐(0)
摘要:
输出结果截图: 代码: public class BinaryOperator { public static void main(String[] args) { // 二元运算符 // 快捷键操作:ctrl+D ————复制当前行到下一行 // 赋值运算符优先级最低 int a1 = 10; i 阅读全文
posted @ 2021-12-11 12:57
JohnnyH
阅读(801)
评论(0)
推荐(0)

浙公网安备 33010602011771号