What is Runnable interface in Java?

Java 8Object Oriented ProgrammingProgramming

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.

raja
Published on 02-Jan-2018 11:10:54
Advertisements