Variables and Assignment Statements

Read this chapter, which covers variables and arithmetic operations and order precedence in Java.

1. Variables and Assignment Statements

In all but the smallest programs, an executing program is constantly working with values. These values are kept in little sections of main memory called variables


Chapter Topics:

      • Variables
      • Assignment Statements
      • Expressions
      • Arithmetic Operators

Question 1:

Do you imagine that a variable can change its value?

Source: Bradley Kjell,
Creative Commons License This work is licensed under a Creative Commons Attribution-NonCommercial 3.0 License.