Press any Key to Continue in Java
By
xrex64
in Programming
in Programming
Go to solution
Solved by fizzlesticks,
Pressing any key in java is overly complicated and not worth attempting.
The following will wait for enter to be pressed.
System.out.println("Press enter to continue...");try{ System.in.read();}catch(Exception e){ e.printStackTrace();}
-
Topics
-
Packhunter ·
Posted in Graphics Cards0 -
0
-
1
-
VirusDumb ·
Posted in Programming0 -
Jayraj ·
Posted in Power Supplies1 -
Airmack ·
Posted in Graphics Cards0 -
Kyle89 ·
Posted in Troubleshooting2 -
8
-
5
-
ken43 ·
Posted in Troubleshooting5
-
-
play_circle_filled
Latest From Linus Tech Tips:
Google’s Best Feature In Years - WAN Show June 5, 2026
-
play_circle_filled
Latest From ShortCircuit:
The coolest looking monitor. Period. - ASUS ROG display at Computex (Sponsored)

Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now