🎉 Celebrating 25 Years of GameDev.net! 🎉

Not many can claim 25 years on the Internet! Join us in celebrating this milestone. Learn more about our history, and thank you for being a part of our community!

Java question

Started by
0 comments, last by wizzard 24 years, 7 months ago
When doing a console application in Visual J++ 6.0, how do you make the DOS box stay open so that you can see the output. On my machine, the output box closes as soon as the program finishes and I don't have time to see the output. In C++, you can use getch() but what in Java?

Thanks

Advertisement
I believe its
System.in.read()
. My only experience is with the JDK though.
joeG
joeG

This topic is closed to new replies.

Advertisement