what is the difference between System.exit() and
System.exit(1)?
Answer Posted / balu
A non-zero exit status code, usually indicates abnormal termination. if n != 0, its up to the programmer to apply a meaning to the various n's.
From http://java.sun.com/j2se/1.4.2/docs/api/java/lang/System.html
| Is This Answer Correct ? | 12 Yes | 2 No |
Post New Answer View All Answers
What is array class in java?
What is the class in java?
What is the purpose of file class?
What is immutable data?
Explain differences between collection api and stream api?
Give the hierarchy of inputstream and outputstream classes.
What is the difference between preemptive scheduling and time slicing?
Can you write a java class that could be used both as an applet as well as an application?
What is a variable analysis?
What is the synonym of procedure?
Is there a jre for java 11?
Why do we use return statement?
What is null in java?
How java enabled high performance?
Implementations of set interface?