How to escape infinite loop in Java without shutting down either the program or the PC? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

How to escape infinite loop in Java without shutting down either the program or the PC?

28th Mar 2019, 3:55 PM
Mustafa Alzahlan
3 Answers
+ 1
There sadly is no other way
28th Mar 2019, 3:59 PM
Dragonxiv
Dragonxiv - avatar
0
If you're on eclipse, and it's responding, there should be a red stop button on the top right end of the console
28th Mar 2019, 4:24 PM
voidneo
0
Also, closing eclipse stops the program it's executing
28th Mar 2019, 4:27 PM
voidneo