Many times when we want to assign an expression to a given variable, the expression uses simple operation that involves the original value of the variable. For example, a = a + 2 means we want to add 2 to the variable, and assign the value back to it. Java provides a short hand notation for this to make programming more concise and easier to understand. We call it Compound Assignment Operators. We will discuss around 11 of these in this post. Below are examples on how to perform compound assignment operators in Java.