New course! Every coder should learn Generative AI!
Try a free lesson+ 5
Why Exception raised when we call sleep(1000) of thread class in Java ?
3 Answers
+ 6
Did you catch the exception? Is there another thread that has interrupted the current one?
+ 3
Thanks Chiara Mele it's works 👍
+ 2
Kuldeep Amarwani you're welcome :)