Computer Science, asked by sebasaraju2004, 9 months ago

Diff bw break and system.exit(0);

Answers

Answered by Gripex
3

break(); closes the case.

system.exit(0); exits the whole system within which you were running the program.

Answered by sharanya200636
0

Explanation:

Break jumps from the current iteration to the next loop but system.exit(0) terminates the running of the whole program then and there.

HOPE IT HELPS

Similar questions