No interrupt, no dice?

  • 9
Figure out how the program works. Make it so that the ourInterrupt method allows the TestThread to terminate itself. Don't use the interrupt method.
You can't complete this task, because you're not signed in.
Comments(1)
  • Popular
  • New
  • Old
You must be signed in to leave a comment
Oleksii ChernyshLevel 27 , Dnipro
23 November 2019, 04:52
Validation logic is not good. If a flag is not public and used via method like cancel() then validation fails. Waste of time :(