Posts Tagged Creating and Running thread in Java

Creating and Running thread in Java

Like any other Object in java, Threads are Objects. There are a couple of ways threads can be created in Java. Extending the Thread class and overriding it’s Run() method Building a class that implements Runnable Interface and implementing it’s run() method. Then create an Object of the Thread class and pass an instance of […]

, , ,

1 Comment