Scanner is a type.
There are no predefined instances of this type and no useful static methods..
We must declare a variable of this type and initialize it to use the Scanner methods.
Scanner methods:
- String next()
- String nextLine()
- int nextInt()
- double nextDouble()
- boolean hasNext()
- boolean hasNextLine()
- boolean hasNextInt()
- boolean hasNextDouble()