Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Thread

 
Thiru Thangavelu
Ranch Hand
Posts: 219
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Which of the following will definitely stop a thread from executing:
1) wait()
2) notify()
3)suspend()
4) sleep()
5) yield()
 
Kumar Kausikasa
Ranch Hand
Posts: 45
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi ,
The above question has been discussed in the forum .
http://www.coderanch.com/t/238177/java-programmer-SCJP/certification/Threads-yield

Praveen.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic