Scanner is a predefined class in Java which is present in java.util package that is used to take input from the user. it provides inbuild methods to take any type input from user Using Scanner, we can ...