Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

User and Daemon threads

 
josephine chen
Ranch Hand
Posts: 216
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
)
With respect to User and Daemon threads:
a) Daemon threads can not be grouped together //f

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

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

d) Daemon threads can not be destroyed //f

 
Jim Yingst
Wanderer
Sheriff
Posts: 18671
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
B and C contradict each other. C is correct, B is not.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic