• Post Reply Bookmark Topic Watch Topic
  • New Topic

sleep(), Wait(), Suspend()  RSS feed

 
nitiish chinnaraju
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi, i want to know exact difference between the sleep(), Wait(), Suspend() in thread. if posible please provide with me an example
 
Campbell Ritchie
Marshal
Posts: 56522
172
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
None of them is a standard Object class method; maybe you meant wait(). Please explain where those methods are to be found. Are they in the Thread class?
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!