02 Java Conditionals Flashcards

1
Q

These are operators that return a Boolean value (either true or false)

A

RELATIONAL OPERATORS

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

It is used in selecting one of many code blocks to be executed.

A

Switch statement

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

A unary logical operator and simply negates its value

A

Not Operator

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
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

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

A binary logical operator that returns true if all of the operands is true, otherwise it will return false.

A

AND Operator

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

It gives us the character at index 0

A

charAt(0)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly