Showing posts with label Runnable. Show all posts
Showing posts with label Runnable. Show all posts

Difference between Runnable and Callable interface in Java?

Runnable and Callable interface both are designed to represent task, which can be executed by any thread. Both does same task for the programmer with few difference between each other. In this tutorial we...

Java Threads by Extending Thread class and Implementing Runnable Interface

Today we will discuss about the Threads in Java. Java Threads are nothing but multiple light weight execution under single process where all Threads will share same resources and runs independently. Most of all...