What is the Scanner class in Java? code example Example: how to create a Scanner Object in java Scanner console = new Scanner(System.in);