Booleans Flashcards
1
Q
solidity is
A
statically typed (similar to c)
2
Q
what needs to be specified or known at compile time
A
the type of each variable
3
Q
booleans
A
bool: variables that’s only values can be true or false
4
Q
what are they commonly used in
A
conditional statements.
5
Q
!
A
logical negation
6
Q
&&
A
“and”
7
Q
| |
|
A
“or”
8
Q
==
A
equality