THE Java™ Programming Language, Fourth Edition

(Jeff_L) #1

Kells Extras: Shifted


Exercises


Exercise 1.1: Enter, compile, and run HelloWorld on your system. 3


Exercise 1.2: Try changing parts of HelloWorld and see what errors you might get. 3


Exercise 1.3: Add a title to the printed list of the Fibonacci program. 6


Exercise 1.4: Write a program that generates a different sequence, such as a table of squares. 6

Free download pdf