Java基础语法学习7——逻辑运算符

1.逻辑运算符

2.逻辑 与 运算符

对比一下n的值,区分&、&&

 

3.逻辑 或 运算符

4.逻辑 非 运算符(!)

 

原文地址:https://www.cnblogs.com/lilijun/p/7274324.html