if Statements
AP Computer Science A · Flashcards
AP COMPUTER SCIENCE A · FLASHCARDS
Card 1
of 37
0 got it
0 to review
Current
Got it
Still learning
Not seen
QUESTION
What is the purpose of an if statement?
QUESTION
What block executes if the condition is true? if (condition) { ... } else {...}
QUESTION
Which logical operator represents 'OR' in Java?
Tap to flip before you grade
ANSWER
||. Double pipe requires at least one condition to be true.
Swipe → got it · swipe ← still learning
Got it
Still learning
Flip Card
Previous card
Next card