Question 224 / 297:  What does sleep(long millis) in Thread class do?
A  causes the thread, which sleep is invoked on, to sleep (temporarily cease execution) for the
specified number of milliseconds
B  causes the currently executing thread to sleep (temporarily cease execution) for the specified
number of milliseconds
C  causes the main() thread to sleep for the specified number of milliseconds
D  causes the currently executing thread to wait(temporarily cease execution) for the specified
number of milliseconds then brings it back to run.
<< First < Previous Flashcard Next > Last >>
Exam Home Page
Ask
Anindyo Mukhopadhyay
Start Quiz
Copy and paste the following HTML code into your website or blog.
<iframe src="https://www.jobilize.com/embed/java-certification-questions" width="600" height="600" frameborder="0" marginwidth="0" marginheight="0" scrolling="yes" style="border:1px solid #CCC; border-width:1px 1px 0; margin-bottom:5px" allowfullscreen webkitallowfullscreen mozallowfullscreen> </iframe>