Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Q. Methods of a dead thread.

 
Karin Paola Illuminate
Ranch Hand
Posts: 109
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I did an exam on the www.certification4career.com, but I've got some doubts about the answers given. Can someone help me with this?
Mock Exam

Answer. C.
Shouldn't the answer be A instead of C? Because, a dead thread cannot be restarted, But, its method can be called -- it is just an object no more in a running state?
I found this in one of study notes:
Velmurugan's notes at: http://www.geocities.com/velmurugan_p/notes.html (on page 33).
[ April 28, 2003: Message edited by: Karin Paola Illuminate ]
 
Carl Trusiak
Sheriff
Posts: 3341
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Try a test:

Output:
 
Karin Paola Illuminate
Ranch Hand
Posts: 109
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks Carl. Your code did help!
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic