(Java) How to get user input without pressing the “enter” key [duplicate]

后端 未结 2 2004
热议问题