It's not as easy as it seems

  • 28
  • Locked
1. Read online about Socket, ThreadPoolExecutor, RunnableFuture, and Callable. 2. Implement the logic of the SocketTask class's cancel() method. 3. Implement the cancel() method's logic for a local class inside the SocketTask class's newTask method.
You can't complete this task, because you're not signed in.
Comments (2)
  • Popular
  • New
  • Old
You must be signed in to leave a comment
Justin Smith
Level 39 , Greenfield, USA, United States
19 January 2022, 19:06
I have no idea what the code in this task does, but I was able to pass it anyway!
Ibrahim
Level 41 , Sheffield, United Kingdom
11 February 2022, 09:57
Same, hahah