input java command line when I hit enter 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){}