Multiple choice technology programming languages

what are places where run() is declared.

  1. Thread class

  2. Runnable Interface

  3. Applet

  4. Throwable

Reveal answer Fill a bubble to check yourself
A,B Correct answer
Explanation

The run() method is defined as an abstract method in the java.lang.Runnable interface to represent a task's entry point. The java.lang.Thread class implements Runnable and provides a concrete implementation of run(). Neither Applet nor Throwable declares the run() method as part of their standard contracts.