Runnable
A functional interface representing work that can be run by a thread or executor.
What is Runnable in Java?
Runnable — A functional interface representing work that can be run by a thread or executor.
class OrderWorker {
Thread createWorker(Runnable task) {
return new Thread(task);
}
}
Level: Master · More Java terms at this level
Updated