编程语言
首页 > 编程语言> > Java logical operators

Java logical operators

作者:互联网

& and, both operands are evaluted

| or, both operands are evaluated

^ Xor, returns true if one and only one is true

! not

&& conditional and, if the left operand is false, returns false without evaluating the right one

|| conditional or, if the left operand is true, returns true without evaluating the right one

标签:both,right,Java,operands,operators,logical,returns,evaluating,true
来源: https://www.cnblogs.com/chargingcat/p/15587905.html