aspose file tools*
The moose likes Programmer Certification (SCJP/OCPJP) and the fly likes Is this word about Thread are right? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Certification » Programmer Certification (SCJP/OCPJP)
Bookmark "Is this word about Thread are right?" Watch "Is this word about Thread are right?" New topic
Author

Is this word about Thread are right?

Hades Pan
Ranch Hand

Joined: Nov 25, 2001
Posts: 106
JVM exits after the main() thread is exited even if there might be
some threads running.
Rowan Brownlee
Ranch Hand

Joined: Aug 07, 2000
Posts: 97
Hello Hades,
If all of the user threads have died, the application will cease even if there are some daemon threads still running (eg the garbage collector).
cheerio
rowan

Hades Pan
Ranch Hand

Joined: Nov 25, 2001
Posts: 106
I got it !
Thank for Rowan's example!
 
wood burning stoves
 
subject: Is this word about Thread are right?