02 Java Conditionals Flashcards
1
Q
These are operators that return a Boolean value (either true or false)
A
RELATIONAL OPERATORS
2
Q
It is used in selecting one of many code blocks to be executed.
A
Switch statement
3
Q
A unary logical operator and simply negates its value
A
Not Operator
4
Q
A binary logical operator that returns true if at least one of the operands is true, otherwise it will return false.
A
OR Operator
5
Q
A binary logical operator that returns true if all of the operands is true, otherwise it will return false.
A
AND Operator
6
Q
It gives us the character at index 0
A
charAt(0)