Which statements are true?
Select the two correct answers.
run()
on an object implementing Runnable will create a new thread.(b) and (e)
The Thread class implements the Runnable interface and is not abstract.
A program terminates when the last user thread finishes.
The Runnable interface has a single method named run.
Calling the run()
method on a Runnable object does not necessarily create a new thread; the run()
method is executed by a thread.
Instances of the Thread class must be created to spawn new threads.