Why do I need to declare a new Scanner object here?

Printable View