study guides for every class

that actually explain what's on your next test

Compound Assignment Operators

from class:

AP Computer Science A

Definition

Compound assignment operators are shorthand notations that combine an arithmetic operation with the assignment operator. They allow you to perform an operation and assign the result to a variable in a single step.

congrats on reading the definition of Compound Assignment Operators. now let's actually learn it.

ok, let's learn stuff

"Compound Assignment Operators" also found in:

© 2024 Fiveable Inc. All rights reserved.
AP® and SAT® are trademarks registered by the College Board, which is not affiliated with, and does not endorse this website.