Java Multithreading :
Thread: A thread is a single flow of control like simple program.
A unique property of java is multithreading only because java supports multithreading.
More than one thread (program) run simultaneously is known as multithreading (multiprogramming).
In multithreading java interpreter handles the switching of control between the threads in such a way that it looks like they are running concurrently.
Multithreading is useful in a number of ways. We can divide a long program into number of threads and executes them in parallel.
We are going to learn so many useful things in thread lets start with single main thread.