The BackgroundWorker class allows you to run an operation on a separate, dedicated thread when you want a responsive UI and you are facing long delays associated with such operations, the BackgroundWorker class provides a convenient solution.
In this article we have discussing about multi-threading,its method and its priorities.
If you are using more than one synchronized method in the program and want to access both synchronized method in a program on single thread.
Before JVM shuts down if you want to execute some code, use shutdown hook.
In java, Damon thread is a low priority thread .It is used for providing background support to any user thread to same process as the daemon thread.