Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Can i use stop() to stop the thread.

 
Narasimha Rao B.
Ranch Hand
Posts: 205
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
In one of the mock exams, i come across the question --
Which are the methods used to stop thread execution?
Anwer -
sleep(), wait(), yield() and stop().
Now in 1.4 as stop() method is deprecated, can we expect the stop() method as one of the choice. If in the answers stop() method is one of the choice, what should i do?
Thanks,
Narasimha.
 
Corey McGlone
Ranch Hand
Posts: 3271
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Deprecated methods will not be part of the exam.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic