1.

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()
Answer» B. public boolean isInterrupted()


Discussion

No Comment Found