implement press enter to continue java scanner 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){}