Next: Make mistakes
Up: Homework 1: Java compilation
Previous: Create and run ``Hello,
- Read Section 1.5 of the textbook so you understand what
each line of the program does.
- 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.
- Add a second print statement that prints a second message after
the ``Hello, world!''. Something witty like, ``How are you?''
- Run the program again.
Allen B. Downey