diff --git a/data/part-1/3-reading-input.md b/data/part-1/3-reading-input.md index 979f1028..7720fa07 100644 --- a/data/part-1/3-reading-input.md +++ b/data/part-1/3-reading-input.md @@ -270,7 +270,7 @@ NB! When using the `System.out.println` command, do not pass in the string "Ada ## Reading Strings -The `reader.nextLine();` command reads the user's input and *returns* a string. If we then want to use the string in the program, it must be saved to a string variable -- `String message = scanner.nextLine();`. A value saved to a variable can be used repeatedly. In the example below, the user input is printed twice. +The `scanner.nextLine();` command reads the user's input and *returns* a string. If we then want to use the string in the program, it must be saved to a string variable -- `String message = scanner.nextLine();`. A value saved to a variable can be used repeatedly. In the example below, the user input is printed twice. ```java //Introduce the Scanner tool used for reading