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
How messaging services are done, before release of JMS?
What are various types of class loaders used by jvm?
What restrictions are placed on the values of each case of a switch statement?
Can I map more than one table in a cmp?
How a component can be placed on Windows?
Define the remote object implementation?
Which are the different segments of memory?
What state does a thread enter when it terminates its processing?
Which component handles cluster communication in jboss?
What is threadfactory?
what is a non-repeatable read?
What are the diff types of exception?
Name three component subclasses that support painting?
What is scalable, portability in the view of J2EE?
Java is fully object oriented languages or not?