Compound Assignment Operators
AP Computer Science A · Flashcards · Recall
AP COMPUTER SCIENCE A · FLASHCARDS
Card 1
of 10
0 got it
0 to review
Current
Got it
Still learning
Not seen
QUESTION
Which operator performs division and assignment?
QUESTION
What does 'x += y' do to x?
QUESTION
What does 'x -= y' do to x?
Tap to flip before you grade
ANSWER
Decreases x by y. Equivalent to x = x - y.
Swipe → got it · swipe ← still learning
Got it
Still learning
Flip Card
Previous card
Next card