JAVA | Why does automating Scanner input as a String with a number in it won't work for Integer.parseInt(reader.nextLine())?

后端 未结 0 395
猫巷女王i
猫巷女王i 2021-01-21 17:54

I tried automating scanner input for some code I made by making the scanner scan a string. The code scans some words, then I need to scan a number, to do so I used Integer

相关标签:
回答
  • 消灭零回复
提交回复
热议问题