Other articles


  1. Check Scanner number input in Java

    Di 23 Oktober 2012
    By Uli Köhler

    In Java

    In many cases if you want to create an interactive command line interface, you need to check if a number entered by the user is valid and - if it isn’t - you want the user to re-input it.

    Here’s a simple static method to check if a number typed ...

    read more