Question: Create two (2) threads named by the user. Display their various states using get State ( In the main method: 1. Enable user input. 2.

Create two (2) threads named by the user. Display their various states using get State ( In the main method: 1. Enable user input. 2. Create two (2) threads. 3. Ask the user to enter a name for each thread. 4. Show the names and states of the threads. 5. Start the threads. 6. Have the threads sleep for half a second. 7. Show the names and states of the threads
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
