This week's book giveaway is in the Clojure forum.
We're giving away four copies of Clojure in Action and have Amit Rathore and Francis Avila on-line!
See this thread for details.
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

User and Daemon Threads

 
Gaurav Chikara
Ranch Hand
Posts: 412
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
15)
With respect to User and Daemon threads:

a) Daemon threads can not be grouped together

b) Running Daemon threads prevent a Java VM from terminating program

c) The JVM can terminate program when only daemon threads are running

d) Running User threads prevent a JVM from terminating program

Correct answers should be
c.because only after user threads have finished executing then only JVM terminates program
d.should be correct because of the same reason stated above
Correct me if wrong .
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic