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 the difference between system.out ,system.err and system.in?
Name the class that is used to bind the server object with RMI Registry?
What is colon_pkg_prefixes and what is its use?
What are the call back methods in entity bean?
Define the remote object implementation?
What are the services in RMI ?
Name the eight primitive java types.
What are the types of scaling?
In our urls and in the text of the buttons we have comma. Its causing an error. Is there a way to change the delimiting character for the menu arguments?
hi friends, i have done my BE(CSE)at 2011 then i have joined one company before they asked me 50k so i paid but now they telling no project here so we r going to close like that so now i need any job i have good knowledge in core java and j2ee(jsp,servlet,jdbc) so if u know any job pl help me
What is the purpose of the notify() method?
Can I use javascript to submit a form?
Can you give me a simple example of using the requiredif validator rule?
wahts is mean by dynavalidatorform in struts/
how i secure my site with the https protocol.what are the steps?