Several values
Read · 1 of 4
Scanner skips spaces and new lines
Each next…() call reads the next value, wherever it is: on the same line after a space, or on the next line. So 3 4 and 3 then 4 on two lines read the same way.
Read · 1 of 4
Each next…() call reads the next value, wherever it is: on the same line after a space, or on the next line. So 3 4 and 3 then 4 on two lines read the same way.