Infinite loop in reading the file from scanner

前端 未结 0 325
半阙折子戏
半阙折子戏 2021-01-25 04:08

This is a simple code to get the character at the given index within the String. It is going through an infinite loop, I know that adding the scanner.nextLine() in the catch cla

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