I would like to get input from a console character from a character. So, for example, there is a string "input". If the current user input is "W", the input is "W", as the user continues to enter "h", the input is "Wh" and continues to "a" the input is "a". I used system.console () to accept inputs, but in eclipse it always returns null.
Is there a way to fix it or another way to handle a character with a character read from input?
Thanks!
java input console
Judyjiang
source share