rage / java-programming

https://java-programming.mooc.fi
497 stars 209 forks source link

Part 1, section 3, reading input has a possible error in "Reading Strings" #433

Open Tracy58468 opened 1 year ago

Tracy58468 commented 1 year ago

"Reading Strings" starts:

The reader.nextLine(); command reads the user's input and returns a string.

I believe it should read:

The scanner.nextLine(); command reads the user's input and returns a string.