Tag Archives: Console Input in Java

If you are using Java’s Scanner class for keyboard input then you might be doing it wrong.

Yesterday I gave my students a warm up exercise in my third year Java course. The students were free to use console, Swing or JavaFX for user input. Most chose console because they had minimal exposure to GUI coding and that is one of the main topics in my course. Within a few minutes some hands went up in regards… Read more »