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 the difference between scrollbar and scrollpane?
What are heap memory and stack memory and what are memory tables.
Is char * a string?
What is isa relationship?
What string is utf8?
Can constructor be synchronized?
What are the five major types of reference sources?
Is finalize() similar to a destructor?
What is a constructor, constructor overloading in java?
What is the difference between public, private, protected, and friend access?
Difference between doublesummarystatistics, intsummarystatistics and longsummarystatistics ?
What are the different ways of implementing thread? Which one is more advantageous?
Explain throw keyword in java?
Why inputstreamreader is used in java?
Which java ide is used the most?