in Technology by
When the sleeping time is -ive in sleep() Method in Java?

1 Answer

0 votes
by

It throws the exception IllegalArguementException when the time for sleeping is negative.

Related questions

0 votes
    Describe the purpose and working of sleep() method....
asked Jan 19, 2021 in Technology by JackTerrance
0 votes
    Which of these method is used to tell the calling thread to give up a monitor and go to sleep until ... division Multithreading of Java Select the correct answer from above options...
asked Mar 1, 2022 in Education by JackTerrance
0 votes
    What is Time-slicing scheduling in Multithreading?...
asked May 29, 2023 in Technology by JackTerrance
0 votes
    What is Preemptive-Priority Scheduling?...
asked May 29, 2023 in Technology by JackTerrance
0 votes
    What is First Come First Serve Scheduling(FSFS)?...
asked May 29, 2023 in Technology by JackTerrance
0 votes
    What is the thread scheduler and its relationship to thread priority?...
asked May 29, 2023 in Technology by JackTerrance
0 votes
    What's a context switch in Multithread?...
asked May 29, 2023 in Technology by JackTerrance
0 votes
    What are the differences between Asynchronous vs Multithreading ?...
asked May 27, 2023 in Technology by JackTerrance
0 votes
    What Is Multithreading Programming?...
asked May 27, 2023 in Technology by JackTerrance
0 votes
    In [31]: print(np.poly1d((3,2))) 3 x + 2 In [32]: a = np.array(( np.poly1d( ... JavaScript questions, JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked May 7, 2022 in Education by JackTerrance
0 votes
    I’ve done my btech in information Technology. What should I study (diploma or post graduation) to get a job in cyber security field? Select the correct answer from above options...
asked Dec 23, 2021 in Education by JackTerrance
0 votes
    I’ve done my btech in information Technology. How can I get a job in cyber security field? Select the correct answer from above options...
asked Dec 23, 2021 in Education by JackTerrance
0 votes
    I’ve Found A Bug in Scipy. What Do I Do?...
asked Apr 25, 2021 by JackTerrance
0 votes
    What is sleep mode in android?...
asked Jan 14, 2021 in Technology by JackTerrance
...