Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

Difference between sleep and suspend?

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


Please Help Members By Posting Answers For Below Questions

What is the difference between system.out ,system.err and system.in?

1110


Name the class that is used to bind the server object with RMI Registry?

2170


What is colon_pkg_prefixes and what is its use?

2521


What are the call back methods in entity bean?

1074


Define the remote object implementation?

2516


What are the services in RMI ?

2389


Name the eight primitive java types.

1135


What are the types of scaling?

1092


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?

1184


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

2223


What is the purpose of the notify() method?

1083


Can I use javascript to submit a form?

1155


Can you give me a simple example of using the requiredif validator rule?

1132


wahts is mean by dynavalidatorform in struts/

2081


how i secure my site with the https protocol.what are the steps?

2345