Threads enable you to have multiple flows of control, running concurrently. |
Concurrency does not necessarily mean that threads actually run at the same time, but that the Java interpreter switches between threads. |
Threads may also be assigned priority, in which case the higher priority thread may pre-empt the lower one. |