What is abnormal termination? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

What is abnormal termination?

31st Jan 2020, 1:44 PM
Nushrat Jahan
2 Answers
+ 4
A non-zero value of status code is generally used to indicate abnormal termination.
31st Jan 2020, 1:49 PM
Pedro H.J
Pedro H.J - avatar
+ 1
If you are confused then to explain this in simple words, the status code is nothing but the value passed as an argument to System.exit(). If it is a non-zero value that is passed than the JVM will result in abnormal termination of the program.
31st Jan 2020, 2:52 PM
Avinesh
Avinesh - avatar