Quick search syntax
tags tag:apple
author user:martin
title title:apple
content content:apple
exclude -tag:apple
force match +apple
views views:100
score score:10
answers answers:2
is accepted isaccepted:true
is closed isclosed:true

Categories


C Books Guide and List
C++ Books Guide and List
Best Java Books

3.8k questions

4k answers

117 comments

10.7k users

0 votes
34 views
asked by Geek (15.3k points) 19 43 70

1 Answer

0 votes
public static void exit (int status)
 
You normally pass 0 to indicate that a normal exit.
A nonzero indicate an error.
 
public class MainClass {
 
  public static void main(String[] a) {
    System.exit(0);
  }
}
 
answered by Expert (15k points) 15 23 32

Related questions

0 votes
1 answer 35 views
35 views asked by keem Expert (13.2k points) 29 44 63
0 votes
1 answer 19 views
19 views asked by smith Geek (15.3k points) 19 43 70
0 votes
1 answer 20 views
20 views asked by smith Geek (15.3k points) 19 43 70
0 votes
1 answer 41 views
41 views asked by john Guru (27.1k points) 35 53 115
0 votes
2 answers 44 views
44 views asked by sara Guru (24.6k points) 32 59 94
...