S

Shivam • 8.86K Points
Tutor III

Q. Which method is used in thread class to test if the current thread has been interrupted?

  • (A) public static boolean interrupted()
  • (B) public boolean isInterrupted()
  • (C) public void interrupt()
  • (D) public boolean isAlive()
  • Correct Answer - Option(A)
  • Views: 86
  • Filed under category JAVA

No solution found for this question.
Add Solution and get +2 points.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.


Question analytics