zaghal
Did you compile it an run it? What did it do?
The arguements passed into a
java program by the command line do not start with the class file name. In the
String[] arguement to the main method the item at the 0 index is the 1st item entered on the commnad line after the file name. so in this case the item at 0 is good and the item at 1 is morning.
so you will get the index out of bounds Exception.