Category Archives: Multi-Threading

Thread class methods

In this tutorial, we will learn about Thread class methods. In the last tutorial, we already saw two thread class methods run() and start() method. There are a lot of other methods in Thread class. Check this following list. Method Description public void start() This method is used start the execution of thread. public void run() This method… Read More »

Thread in Java

In this tutorial, we will learn ways to create a Thread in Java. There are two ways to create the thread in Java first one is by extending Thread class and the second one is by implementing Runnable interface. Creating a thread using Thread Class: Thread class contain constructors and methods which helps us to create a thread.… Read More »