Reading material

Pages 1-78 (Chapter 1 is background material) and 561-565.

Additional material

Detailed instructions to help you run your first Java program can be found here.

Code convention: do not use magic numbers (numbers different from 0, 1, -1 and 2) in your code but declare them as constants (see page 64).

The API (application programmer interface) of the String class can be found here.

Question

Do the lesson "Your First Cup of Java" described here.