逻辑与 “&&” | 逻辑或 “||” | 逻辑非 “!” | 逻辑异或 “∧” | 逻辑与 “&” | 逻辑或 “|” | ||
逻辑运算符的真值表 | |||||||
A | B | A && B | A || B | ! A | A ∧ B | A & B | A | B |
T | T | T | T | F | F | T | T |
T | F | F | T | F | T | F | T |
F | T | F | T | T | T | F | T |
F | F | F | F | T | F | F | F |
本文出自 “Exist” 博客,请务必保留此出处http://exist.blog.51cto.com/10305882/1962490
原文地址:http://exist.blog.51cto.com/10305882/1962490