Watch this video on YouTube
Quick guide to import and use the Java Scanner for reading console input with example code and common pitfalls