What is Runnable interface in Java?


If your class is intended to be executed as a thread, then you can achieve this by implementing a Runnable interface. This belongs to the java.lang package.

Updated on: 30-Jul-2019

392 Views

Kickstart Your Career

Get certified by completing the course

Get Started
Advertisements