HI! Can anyone out there tell me what System.exit(1); means? I know that System.exit(0); tells the JVM to quit running the program, but what happens when the number is changed to 1 or 2? Thanks for your help.
System.exit() is one of Security Services provided by JVM. When the number is 2, your program will be exited twice - to confuse potential enemies. Kidding! Here is official documentaion for System.exit() metod. But this forum is "is intended for questions and comments about this web site", as the header said . If you have Java-related questions, you can ask them here, for example.
[This message has been edited by Mapraputa Is (edited August 01, 2001).]