Glossary


 * variable:** A named storage location for values. All variables have a type, which is declared when the variable is created.


 * value:** A number or string (or other thing to be named later) that can be stored in a variable. Every value belongs to one type.


 * type:** A set of values. The type of a variable determines which values can be stored there. So far, the types we have seen are integers (int in Java) and strings (String in Java).


 * keyword:** A reserved word that is used by the compiler to parse programs. You cannot use keywords, like public, class and void as variable names.


 * statement:** A line of code that represents a command or action. So far, the statements we have seen are declarations, assignments, and print state- ments.


 * declaration:** A statement that creates a new variable and determines its type.


 * assignment:** A statement that assigns a value to a variable.

as determined by their operators and operands.
 * expression:** A combination of variables, operators and values that represents a single result value. Expressions also have types,


 * operator**: A special symbol that represents a simple computation like addition, multiplication or string concatenation.


 * operand:** One of the values on which an operator operates. precedence: The order in which operations are evaluated.


 * concatenate:** To join two operands end-to-end.


 * composition:** The ability to combine simple expressions and statements into compound statements and expressions in order to represent complex com- putations concisely.