press any key to continue java code example
Example: How to do press enter to continue in java
System.out.println("Press enter to continue");
try{System.in.read();}
catch(Exception e){}
System.out.println("Press enter to continue");
try{System.in.read();}
catch(Exception e){}