Allan Kyllonen
Thursday, August 11, 2011
What is scan.nextLine() doing here?
The nextLine() method returns the input and advances the Scanner object to the next line. It has nothing to do with comparing. The Scanner cl just scans. That what it does.
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment