Lecture 21
20
Java RumpelStiltskin
•
Design (pseudocode)
–
If there is no command line argument
–
print usage message
–
end the program
–
•
Two possible implementation strategies
–
test for args[0], proceed based on test result
–
assume args[0] is there, catch Exception if not