Answer the question
In order to leave comments, you need to log in
Is it possible to do interrupts in java?
Suppose I have an infinite loop that spins the same thing.
A command comes from outside, the loop stops and some logic is executed, for example, pass data to some function.
After that, the main program starts to perform the operation from the same place.
Is such an implementation possible in java?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question