Next: Make mistakes
Up: Homework 1: Java compilation
Previous: Create and run ``Hello,
- 1.
- Read Section 1.5 of the textbook so you understand what
each line of the program does.
- 2.
- Add a comment line to the program (anywhere) and recompile
it. Run the program again. The new comment should not affect the
execution of the program.
- 3.
- Add a second print statement that prints a second message after
the ``Hello, world!''. Something witty like, ``How are you?''
- 4.
- Run the program again.
Allen B. Downey
1999-09-08