Other Thread methods
currentThread()
Returns the currently executing thread (static).
setDaemon(boolean)
Sets a thread as daemon; the VM exits when all threads are daemons.
isDaemon()
Returns true if the thread is a daemon.
Previous slide
Next slide
Back to first slide
View graphic version