Using java.util.Scanner

How can I read input from console ( numbers) using java.util.Scanner when the numbers are separated by any number of spaces and line breaks??
Sign In or Register to comment.