previous | start | next

Comments on using hasNextInt

What happens if the input file has some integers but then has a typo such as u6 instead of 86?

What happens to the example with the sentinel example?



previous | start | next