Computer Science, asked by hiyapansuriya, 4 months ago

Difference between normal and abnormal termination in java.​

Answers

Answered by uppadalaxmi456
2

Answer:

There are some operating systems that make use of the return value from a program. If the program runs correctly and returns zero, they go on the do the next step (normal termination.) If the program detects a problem (e.g. missing database, no Internet connection, etcetera) and returns a non-zero value, they abort the next step (abnormal termination.) Think of it like exception handling within your C++ code as it is the same concept.

Similar questions