How can I clear the Scanner buffer in Java? by IT Nursery How can I clear the Scanner buffer in Java?