CSE 4510: Lab Assignment #2

Due: Friday, January 22, 1998

The Task

Compile and run the Java program Constants.java making two changes.
  1. Change the values so the information correctly reflects your name, student number and e-mail address.
  2. Change the program to print the greeting only if some command line argument is given. (The information is always printed.)
Do not change the name of the class (hence the name of the file must remain Constants.java).

A file must contain one public class and that file must be named the same as the class. By convention class names are capitalized. A file really should contain just one class, but from time to time we are lazy and throw a less important class in another class' file.

Helpful Stuff

Turning it in

Turn in the Java source code for the program. Use the following command on malestrom.cs.fit.edu or zach.cs.fit.edu

~ryan/bin/mfiles ryan@cs "cse4510/lab02" Constants.java
The name of the file must be Constants.java. With luck the submissions for this lab exercise will be found in the file lab02-sub.txt.
Ryan Stansifer <ryan@cs.fit.edu>
Last modified: Tue Jan 12 13:07:04 EST 1999