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
what is handle?
what are RemoteObjects?
Where can I find seam examples and documentation?
What is the immediate superclass of the applet class?
Whats new with the stop(), suspend() and resume() methods in jdk 1.2?
What is the difference between the string and stringbuffer classes?
How is a java object message delivered to a non-java client?
What is a class loader?
what is an isolation level?
What’s jboss jbpm?
when A client sent a request to the server to open facebook page and close the browser after this request .at that time the same user do login by using a different browser then that session id will exist or not for the same client??
Can you give me a simple example of using the requiredif validator rule?
Should synchronization primitives be used on bean methods?
what are the activation groupworks?
Do I have to use jsps with my application?