Now that we have thoroughly explored what the variables are, what can we do with them? To answer this question we need to examine various operators, which are special characters used to perform specific operations. For now, we will stick with simple assignment, arithmetic, and compound operators, and get into some others in the next chapter.
When we talked about declaring variables, we used the assignment operator,
=, which looks just like the equals sign but isn’t exactly the equals sign we know and love from algebra class. Take a look at the following example:
myValue = 255;
Here, the assignment operator is telling the compiler to take the value or expression on the right side of the operator and assign that value to the variable ...