# 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.

```java
class OrderWorker {
    Thread createWorker(Runnable task) {
        return new Thread(task);
    }
}
```

Level: Master · [More Java terms at this level](https://www.ask-codey.com/glossary/subjects/java/master)

Updated: September 27, 2026

Source: https://www.ask-codey.com/glossary/runnable
