GeekInterview.com
Home
Tech Articles
Code Samples
Learn
Freelance Projects
Online Testing
Geek Talk
Job Postings
Knowledge Base
Geek Blogs
Question Bank
Interview Questions
Certification
Placement Papers
Tech FAQ
Career Advice
Engineering
Ask Question
I am new,
Sign me up!
User Name
Remember Me?
Password
Interview Questions
Certification
Placement Papers
Tech FAQ
Career Advice
Engineering
Ask Question
GeekInterview.com
>
Interview Questions
>
J2EE
>
Core Java
Go To First
|
Previous Question
|
Next Question
Core Java
| Question 401 of 502
Print
How to kill all the threads in a program in one command.
Total Answers and Comments:
3
Last Update: February 14, 2008 Asked by:
kiran19999
Sponsored Links
Best Rated Answer
—
No best answer available. Please pick the good answer available or
submit
your answer.
September 14, 2007 06:46:41
#1
g4java
Member Since: July 2007 Contribution: 28
RE: How to kill all the threads in a program in one co...
No way to do that now :( . its all deprecated. Just you've to wait untill threads finishes its execution or there should be a exit(int) / RunTimeException.
Is this answer useful?
Yes
|
No
September 21, 2007 18:14:49
#2
Masood
RE: How to kill all the threads in a program in one co...
We can terminate a thread actully there is no method defined but we can terminate a thread by just asignning its refrence to null;
Is this answer useful?
Yes
|
No
February 14, 2008 02:28:23
#3
sampra
Member Since: February 2008 Contribution: 278
RE: How to kill all the threads in a program in one command.
after exceuting thread is automatically killed
Is this answer useful?
Yes
|
No
Go To Top
Sponsored Links
Related Categories
—
Core Java Interview Questions
EJB Interview Questions
Hibernate Interview Questions
Java Interview Questions
Java Patterns Interview Questions
JDBC Interview Questions
JMS Interview Questions
JSP Interview Questions
Java OOPS Interview Questions
Ruby Interview Questions
Servlets Interview Questions
Spring Interview Questions
Struts Interview Questions
Websphere Interview Questions
Sponsored Links
About Us
-
Privacy Policy
-
Terms and Conditions
-
Contact
-
Ask Question
-
Propose Category
-
Site Updates
Copyright © 2005 - 2009 GeekInterview.com. All Rights Reserved