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

ty

Hi Everyone,

Please explain in detail, pause a thread or pause while waiting for input from user??

Richard West

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

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?