The scanner works with a stream of characters (characters you can see, and characters like spaces and newlines). Every time you call nextWhatever() something is returned and the position of the...