InterviewSolution
Saved Bookmarks
| 1. |
Explain About Daemon Thread ? |
Answer»
Methods for daemon thread: 1.public void setDaemon(BOOLEAN status): This method sets the current thread as user thread or daemon thread. 2.Boolean isDaemon(): This method checks whether the current thread is daemon or not. It returns the true or false Boolean value. Methods for daemon thread: 1.public void setDaemon(boolean status): This method sets the current thread as user thread or daemon thread. 2.Boolean isDaemon(): This method checks whether the current thread is daemon or not. It returns the true or false Boolean value. |
|