@StephenCoyle You can pass strings to a main method from the command line when you run the program. This is why main always begins
main(String args[])

Post the error message you saw when you...