Welcome Guest | Sign in | Register
Threads - Discussion Page For Q.2965 | Java Programming Questions and Answers | Java Programming Free Online-Tests | LucentBlackBoard | LucentBlackBoard.com

Home > Java Programming > Threads > Questions and Answers

Q: Which of the following statements are true? 
A. All the threads created in a class come to an end at the same time.  B. You can stop a thread indefinitely if u wishes to. 
C. You can start a thread only by extending the Thread class  D. Multiple threads accessing a method will lead to producing junk. 

Answer and Explanation

Answer:You can stop a thread indefinitely if u wishes to. 

Explanation:
JVM exits after the main() thread is exited even if there might be some threads running _ This statement is true if the remaining threads are all daemon threads.

Comment on this Question

Name:

Loading...




Partner Sites
LucentBlackBoard.com                  SoftLucent.com                  LucentJobs.com
All rights reserved © 2012-2015 SoftLucent.