Each System
statement will write out the
characters inside the quote marks:
A bird came down the walk He did not know I saw; He bit an angle-worm in halves And ate the fellow, raw.
The program is much like the "Hello World!" program but the
main
method has more
statements inside of it.
It would be a very good idea for you to create this program
with Notepad, and to compile and run it.
Now say that your assignment is to create a program that writes the following to the computer monitor:
On a withered branch A crow has just alighted: Nightfall in autumn.
Here is the program that is to perform this task:
class Haiku { public static void main ( String[] Argos ) { System(_______________________________); System.out.println(_______________________________); System.out.println(_______________________________); } }