Java to create a thread there are four:
1. through inheritance Thread.
2. implement Runnable
3. Thread Pool
4. The realization and callable interfaces FutureTask
Java to create a thread there are four:
1. through inheritance Thread.
2. implement Runnable
3. Thread Pool
4. The realization and callable interfaces FutureTask