Answer Posted / vikneswaran
following three method to block the thread
1.sleep()
2.suspend()
3.wait()
sleep() its move to waiting state for particular time
for example
Thread.sleep(3000);
but
suspend() method its move to waiting state until called
resume() method.
| Is This Answer Correct ? | 18 Yes | 2 No |
Post New Answer View All Answers
Do I need to import javlang package any time? Why ?
Can I have an action without a form?
what are RemoteObjects?
Is a class a subclass of itself?
Can I use multiple html form elements with the same name?
why static class in java
What is the map interface?
What is JTS?
What are transaction attributes?
What is the difference between system.out ,system.err and system.in?
What is a modular application?
What is message driven beam?
Is “abc” a primitive value?
Have you used threads in Servelet?
Define prototype?