Code example for Scanner

Methods: closehasNextnext