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
What is method overloading and method overriding?
What is array class in java?
What is an interface in java?
How do you clear a list in java?
What is locale?
Where is java located?
What is difference in between java class and bean?
What is hashing in java?
What are the advantages of exception handling in java?
Is void a return type?
What is substring 1 in java?
Define jre i.e. Java runtime environment?
What is object english?
What are the different http methods?
What is array size in java?