1. Introduction
In this article, we will go through the thread class methods interrupt(), interrupted() and isInterrupted(). All these methods are looking for the same usage and context but they do different jobs in little differently.
Syntax:
public void interrupt()public static boolean interrupted()
public boolean isInterrupted()
This method can be used to kill the thread using interrupt() method.



