if Statements - AP Computer Science A

Card 1 of 30

0
Didn't Know
Knew It
0
1 of 3029 left
Question

Which logical operator represents 'AND' in Java?

Tap to reveal answer

Answer

&&. Double ampersand requires both conditions to be true.

← Didn't Know|Knew It →