Logical Operators Flashcards
1
Q
&&
A
TRUE if both operators are true
2
Q
||
A
TRUE if one of the operators is true
3
Q
!
A
TRUE if the operator is false
FALSE if the operator is ture
4
Q
?
A
Conditional or Ternary
5
Q
?
A
Assigns a value to a variable if a condition is true