Which three statements are correct about thread’s sleep method?

Which three statements are correct about thread’s sleep method?

Which three statements are correct about thread’s sleep method?

A.
The sloop (long) method parameter defines a delay in microseconds.

B.
A thread is guaranteed to continue execution after the exact amount of time defined in
the sleep (long) parameter.

C.
A thread can continue execution before the amount of time defined in the sleep (long)
parameter.

D.
A thread can continue execution after the amount of time defined in the sleep (long)
parameter

E.
Only runtime exceptions are thrown by the sleep method.

F.
A thread loses all object monitors (lock flags) when calling the sleep method.

G.
The sleep (long) method parameter defines a delay in milliseconds.



Leave a Reply 2

Your email address will not be published. Required fields are marked *


bob

bob

I don’t understand why both B and D are marked as good. To me, they seem to contradict themselves, .
Can someone explain / confirm ?