Java Arena

Module 3

Variables and types

Variables of the four basic types (int, double, boolean and String), changing their values, naming them well, and reading numbers and true or false answers from the user.

Steps

  1. Variables and their types
  2. Changing a value
  3. Naming variables
  4. Reading integers
  5. Reading doubles and booleans
  6. Mixing input types