2.1. What Is a Thread?2.2. Creating a Thread2.2.1. The Example Architecture2.2.2. The Thread Class2.3. The Lifecycle of a Thread2.3.1. Creating a Thread2.3.2. Starting a Thread2.3.3. Terminating a Thread2.3.4. Pausing, Suspending, and Resuming Threads2.3.5. Thread Cleanup2.4. Two Approaches to Stopping a Thread2.4.1. Setting a Flag2.4.2. Interrupting a Thread2.5. The Runnable Interface2.6. Threads and Objects2.6.1. Determining the Current Thread2.7. Summary2.7.1. Example Classes