Before a variable can be used, it must be declared. To declare a variable, first decide what type of information you want to store.
Alice has the following types:
- Numbers with decimal places and very large numbers are Double.
- Whole numbers, number with no decimal places are Integer.
- Variables that can only have the values true or false are Boolean.
- Words, such as "Hello", or a persons name are String.