public static boolean interrupted() method used in thread class
Q. Which method is used in thread class to test if the current thread has been interrupted?- Published on 13 Jul 15a. public static boolean interrupted()
b. public boolean isInterrupted()
c. public void interrupt()
d. public boolean isAlive()
ANSWER: public static boolean interrupted()