This Program shows you how to accept user input in the form of strings.
http://fluidcoding.com/jUserInput.php