0

does java have a ' system ("PAUSE") ' like c++....if so what is the syntax to do it.

ty

3
Contributors
4
Replies
5
Views
12 Years
Discussion Span
Last Post by freesoft_2000
0

pause after reading user's input so that the user has a chance to read the screen before the program terminates

0

If you need something like that your architecture is wrong :)

Commandline programs are executed from a shell, so the output remains visible if the user wants it. If not he'll likely have it redirected to a file and why should you force him to look at something he doesn't want to see?

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.