Open sp16g14 opened 6 years ago
Reading multiple values from stdin seems to fail, with a NoSuchElementException from the Scanner.
NoSuchElementException
See example here
This program works if called by reading input directly from the user, but fails with multiple values piped in from a file or other program.
Reading multiple values from stdin seems to fail, with a
NoSuchElementException
from the Scanner.See example here
This program works if called by reading input directly from the user, but fails with multiple values piped in from a file or other program.