Java thread is used for Multi tasking ,that is by using MultiThreading concept in java at a time we can concurrently execute two or more parts of the program. Java Multithreading is mostly used in games, animation etc.
Java Threads can be created by using two mechanisms :
1. Extending the Thread class
2. Implementing the Runnable Interface
In this video I have explained java thread example and multithread creation and how can be implemented. If you like this video, please subscribe to my channel and drop your messages in comment box below. Thanks for watching.