Why can't we use scanner.nextLine() inside a thread?

前端 未结 0 623
没有蜡笔的小新
没有蜡笔的小新 2021-01-01 06:50

So the error i\'m getting is that scanner.nextLine() throws an error when it\'s used inside a thread. Anyone sharing some light about why this happens is appreciated.

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