Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Thread interrupt() method is in java 5 exam?

 
Anthony Karta
Ranch Hand
Posts: 342
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
just wonder should be know about Thread interrupt() method and its behavior?
thanks all
 
John Johnson
Ranch Hand
Posts: 39
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I've met this method in whizlabs, but don't think that it is on the real exam, b/c K&B did not cover it. But if you do come across this method, all it does it throw InterruptedException to another thread.
 
Aniket Patil
Ranch Hand
Posts: 218
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Let me reiterate, Whizlabs has plenty of "out-of-syllabus" APIs, that are good (and essential) to know about but are not on the exam.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic