Exercise 2, Basic Java

A:

Exercise 2.1 in the book: Learn how to compile a Java program with the javac command and run the compiled program with the java.

B:

Exercise 3.6 in the book. The topic of the exercise is Strings in Java.

C:

Exercise 3.10 in the book. Covers the topics the switch statement and loop structure.

D:

Design a program that can find the largest value in an array of integers.

E:

If you have time left try to take a look at the other programs that are included with the J2SE version 1.4.0 SDK. Look in the /pack/jdk-1.4.0/bin direcotory.

Best regards,
Kristian Torp