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.

Swarali Sree
Swarali Sree

I love thought experiments.

Updated on: 30-Jul-2019

374 Views

Kickstart Your Career

Get certified by completing the course

Get Started
Advertisements