Multiple choice

Runnable is a/an

  1. class used to implement multithreading

  2. process used to implement multithreading

  3. interface used to implement multithreading

  4. None of these

Reveal answer Fill a bubble to check yourself
C Correct answer
Explanation

Runnable is a functional interface in Java that contains a single run() method. Classes implement Runnable to define code that can be executed by a Thread, making it the standard way to enable multithreading.