Java Arena

Module 2

Reading input and strings

Programs that react to what the user types. Reading lines with a Scanner, keeping text in String variables, and joining text together with +.

Steps

  1. Reading a line with Scanner
  2. String variables
  3. Joining strings with +
  4. Several inputs in order