How to get in.hasNext() to detect when Ctrl - D is entered into the command prompt?

前端 未结 0 1636
野的像风
野的像风 2021-02-07 14:21

so I\'m working on a computer science lab currently and I\'m stumped on a way to have the in.hasNext(); method detect whether Ctrl - D is entered at the end of the

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