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 the purpose of the runtime class?
Explain about the security aspect of java?
What is this keyword used for?
Explain about main thread in java?
What are the main uses of this keyword?
What is assembly condition codes?
What are the three types of design patterns?
Is java still relevant?
What is vector?
List the interfaces which extends collection interface?
What is difference between string and new string?
Implement a stack with push (), pop() and min() in O(1) time.
Which category the java thread do fall in?
Are arrays primitive data types?
Can we write class inside a class in java?