• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Threads

 
Anonymous
Ranch Hand
Posts: 18944
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This is IBM mock ..
This is a multiple choice question, the only answers I am pretty positive are B and E, but what about other choice like A and D.
I don't have a clue whether they are correct.
Plz shed some lights on, Java experts.
With respect to User and Daemon threads, which are true?
a) Daemon threads can not be destroyed
b) Running User threads prevent a JVM from terminating program
c) Running Daemon threads prevent a Java VM from terminating program
d) Daemon threads can not be grouped together
e) The JVM can terminate program when only daemon threads are running
Wali
 
Ankur Gupta
Ranch Hand
Posts: 66
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Wali,
see if reading this article helps : http://www.absolutejava.com/articles/beware-the-daemons.html
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic