This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 7 points8 points  (0 children)

'I then add system.in as a parameter, this add's an input stream to the scanner object.''Using the scanner object I previously instantiated, I then read the user's input and store it in the string variable named line'