Jumping to the TIMED_WAITING state

Report a typo

Suppose that we have two references: one to the current thread and one to another thread.

val currentThread = Thread.currentThread()
val anotherThread = thread(start = false, block = {})
anotherThread.start()

Which invocations will make the currentThread jump to the state TIMED_WAITING?

Select one or more options from the list
___

Create a free account to access the full topic