What is the main difference between wait() and sleep() method?
Answer / Ruby Kumari Saha
The wait() method in Java puts a thread to sleep until it's notified by another thread, typically used in conjunction with notify() and notifyAll(). The sleep() method simply causes the current thread to pause its execution for a specified amount of time.n
| Is This Answer Correct ? | 0 Yes | 0 No |
Difference between short term, long term and medium term scheduler.
Difference between Primary storage and secondary storage?
What is the difference between primary & secondary storage device?
What is a 32 bit integer?
How are data structures handled by ntfs and how does it recover from a crash?
Explain the resident set and working set of a process?
Can you run 32 bit applications on a 64 bit operating system?
Define trashing?
At what mode the fault handler executes?
What do you mean by semaphore?
What do you understand by system clock?
How are data structures handled by ntfs?