Messages


Write a Java Application that takes a number between 0 and 9 from the command line, assigns it to a variable, and prints a different message depending on the value, using a switch statement. Try and be creative with the messages - I want to see a unique string literal assignment for each, something other than "This message x" or "You entered the number x"

Use the args[] array of the "main" method and the System.out method as demonstrated in class.