Code example for Scanner

Methods: hasNextInt