This assignment is due Monday, August 28.
Write a Java class called Hw1.java
which contains a main()
method that prints the following picture.
***************
* *
* *
* Hello *
* *
* *
***************
The output of your program should exactly match this picture. Your program will consist of a sequence of print statements, one for each line of the picture. Don't print any unneeded characters. The main purpose of this assignment is to make sure you have the Java JDK installed properly and to get you started using DrJava.
Turn in a zip file called CS123Hw1Surname.zip
(where Surname
is your last name) containing your version of Hw1.java
.
This assignment is due Monday, August 28.