Programming Tools & Computer Science I

CSC 185 & 201, Spring 2013, Northern Virginia Community College

Homework 4: Java and the command line



Feb 13, 11:59PM

To submit:

Working in your repository from 185 HW3, create the folder homework/185/hw4, add the files needed for the questions below, commit your work, push to your Bitbucket account, and email me when you're done.


Write two Java programs that print Hello Joel!, or whatever your name is. The two versions should determine the name to print by:
  1. Using the value of the environment variable USER.
  2. Using the first command line argument.