Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

threads

 
ima clark
Greenhorn
Posts: 19
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
are the interrupted(), interrupt(), and isInterrupted() methods covered on the 1.4 exam?
 
Ming Tan
Greenhorn
Posts: 23
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I believe Yes. I just took the exam on Saturday, some thread questions that I encountered asked about that.
 
Leandro Oliveira
Ranch Hand
Posts: 298
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I think that even if you wont see anything about this on the real exam it's good to learn, I guess the are usefull
 
ima clark
Greenhorn
Posts: 19
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
thanks
 
Barry Gaunt
Ranch Hand
Posts: 7729
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Ming Tan:
I believe Yes. I just took the exam on Saturday, some thread questions that I encountered asked about that.

Interesting: I have just read the Thread chapter in the Sierra/Bates SCJP2 book and do not recall seeing these methods mentioned. InterruptedException yes, but not these methods.
Also the above mentioned book does not mention that Thread.join() throws InterruptedException.
I did however fall asleep a few times... I'd better double check.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic