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 a Presistent Object?
What is jar?
Can we catch more than one exception in a single catch block?
How do you sort objects in java?
What is the console in java?
os is developed in c no java is more secured then c na why dont the os developed is developed using java
How can I become a good programmer?
What does a method signature consist of?
Can we able to pass objects as an arguments in java?
What is the significance of listiterator?
Explain the difference between string, stringbuffer and stringbuilder in java?
What is the difference between JVM and JRE?
Can constructor be protected in java?
What are the advantages and disadvantages of reference counting in garbage collection?
Why is the type for real numbers called double?