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
Is java platform independent?
Can anonymous class have constructor?
How list contains works in java?
If you are given the name of the function at run time how will you invoke the function?
How is final different from finally and finalize?
Why are global variables used?
Is this valid in java ? Can we instantiate interface in java?
What happens if we override only equals?
What are abstract classes and anonymous classes?
What is volatile data type?
How long will it take to learn java?
How are the elements of a gridbaglayout organized in java programming?
What is a methodologist?
Is java a super set of javascript?
Does string isempty check for null?