Computer Science, asked by sakshi2976, 2 months ago

Define system. exit(0) in java​

Answers

Answered by abidrizvi5110
0

Explanation:

exit(0) : Generally used to indicate successful termination. exit(1) or exit(-1) or any other non-zero value – Generally indicates unsuccessful termination. Note : This method does not return any value. The following example shows the usage of java. lang.

i hope it's helpful to you

Similar questions