How to jump to the TIMED_WAITING state

Report a typo

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

Thread currentThread = Thread.currentThread();
Thread anotherThread = new Thread(...);
anotherThread.start();

Which invocations cause the currentThread to jump to the state TIMED_WAITING?

Select one or more options from the list
___

Create a free account to access the full topic