Variables and Types
Know
A variable is a named box holding one value, and in Java you declare what kind of value it holds. A whole number and a decimal number are different kinds and behave differently.
Apply
Declare the type that matches the data: whole counts as int, measurements as double, yes-or-no as boolean.
Watch out
Storing a measurement as a whole number, which quietly throws away the decimal part.
Study move
Declare one variable of each basic type and print all of them.
