Booleans Flashcards
1
Q
Boolean Values
A
Can only be true or false
2
Q
Boolean Operations
A
! (not)
&& (and)
|| (or)
3
Q
!true
!false
A
false (or not true)
true (or not false)
4
Q
&&
A
Takes in 2 booleans.
false && false == false
false && true == false
true && false == false
true && true == true
5
Q
||
A
false && false == false
false && true == true
true && false == true
true && true == true