Method exit(int status)
Return type: void
Member of: java.lang.System
[api documentation ] [ main menu]

Examples of how the element is used (one line per example):
[add your own example]

1 System.exit(1);
2 System.exit(1); }
3 System.exit(0);
4 System.exit(0);
5 System.exit (0);
6 if (standalone){System.exit(0);}
7 System.exit(0);
8 System.exit(0);
9 System.exit(0);
10 System.exit(0);
11 System.exit(0);
12 System.exit(0);
13 System.exit(13);
14 } catch (Exception e){System.exit(1);return null;}
15 System.exit(0);
16 System.exit(0);
17 System.exit(0);
18 System.exit(0);
19 System.exit(0);
20 System.exit(0);
Java and J2SE are trademarks or registered trademarks of Sun Microsystems, Inc. in the United States and other Countries.