how to do press enter to continue in java

Solutions on MaxInterview for how to do press enter to continue in java by the best coders in the world

showing results for - "how to do press enter to continue in java"
Cornelius
01 Oct 2020
1System.out.println("Press enter to continue");
2try{System.in.read();}
3        catch(Exception e){}