Multiple choice technology programming languages

It is recommended to overload run() in your Thread class

  1. True

  2. False

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

In Java, you should never overload the run() method of a Thread class. The start() method specifically looks for the parameterless run() method to execute in a new thread of execution; an overloaded run() method with parameters would be treated as a regular method and will not be invoked concurrently by start().