This week's book giveaway is in the OCAJP 8 forum.
We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line!
See this thread for details.
The moose likes Programmer Certification (SCJP/OCPJP) and the fly likes Stop a thread Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA Java SE 8 Programmer I Study Guide this week in the OCAJP 8 forum!
JavaRanch » Java Forums » Certification » Programmer Certification (SCJP/OCPJP)
Bookmark "Stop a thread " Watch "Stop a thread " New topic
Author

Stop a thread

Javix Protocol
Ranch Hand

Joined: Mar 21, 2000
Posts: 57
Jpeople out there please reply this
If the stop() method is deprecated how will u stop a thread.(literally).

------------------
The Javix


Write Once , Run Anytime ,Anywhere Forever And Smile Happily.
Eric Barnhill
Rancher

Joined: Feb 25, 2000
Posts: 233

Use a boolean variable as a flag.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Stop a thread
 
It's not a secret anymore!