A thread is an application task that is executed by a host computer. The notion of a task should be familiar to you even if the terminology is not.
Suppose you have a Java program to do some task:
public class DoSomething{
public static void main(String[] args) {
Task 1;
Task 2;
Task 3;
…
Task N;
}
}
When your computer runs this application, it executes a sequence of commands. At an abstract