Java · Medium · ProWhat is Thread.interrupt()? How do you correctly handle interruption in long-running tasks?JavaConcurrency