A

Admin • 828.03K Points
Coach

Q. Which method in the Thread class checks whether the current thread has been interrupted?

  • (A) isAlive()
  • (B) isInterrupted()
  • (C) wasInterrupted()
  • (D) hasInterrupted()

Explanation by: Admin
isInterrupted() checks the interrupted status of the thread.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.