And if you do want to use the Scanner class:
Something like that will work. Odd, doesn't save any lines of code. Just one line is shorter between the 2 versions. Why can't we just have
Oh, that's right. Everything in Java is OO so cin would have to be created somewhere just like the BufferedReader and the Scanner.