Answer Posted / amod
the sleep() method is to make a thread to stop 4m working
for a fixed time sleep(5000)
it will make the thread to sleep for 5min
lly wait method ie wait()makes the thread to stop 4m
workin when other thread needs to excuteee
Amod s Dhupkar
| Is This Answer Correct ? | 9 Yes | 4 No |
Post New Answer View All Answers
Can you give names of Container classes?
What is canonical name in java?
What is string intern in java?
Why multiple inheritance is not supported by java?
What is meant by method overriding?
What is * argv?
How to do a true java ping from windows?
Is array dynamic in java?
What is the base class of all classes?
Can we override the private methods?
What is arrays fill in java?
What are the differences between wait() and sleep()?
What is a condition in programming?
What is the parse method in java?
What is the difference between reader/writer and inputstream/output stream?