Assignment Operators
In the following lesson, you will be introduced to assignment operators.
Assignment operators are used for performing operations which assign a value to an operand. They are modified versions of all the operators we have discussed so far.
Let’s look at the arithmetic assignment operators supported by Scala.
Operator | Use |
---|---|
+= |