How to make user press enter to continue in program?
Hey,
I want to stop the program to wait for input from the user. Im basically telling the user that his "blackjack" hand has busted, and to press enter to continue.
Ive tried to do it with the Scanner class. For instance:
Code :
String x;
x = in.nextLine();
It will stop and wait but you cant skip it with just a return. It has to be SOME string...
Any suggestions on how to do this?
Thanks!
Re: How to make user press enter to continue in program?
Actually, that works...oops :-bd
Re: How to make user press enter to continue in program?
Re: How to make user press enter to continue in program?
ohw sori.. i didnt notice the solved mark