8.1: Input/Output in Java
Read this chapter.
Java provides a Scanner class to facilitate the data input/output. In this section, you will learn about the Scanner class that is used to get input from the user.
Java also defines various methods from the Scanner class can convert user input into appropriate data type before conducting any operation on the data.
Complete the fill in the blanks exercise. Think of the best response to fill in the blanks for each question, or you may write your answer down on a separate sheet of paper. After thinking of the answers, click on the blank in each question to reveal the correct response.
Read this article.