Introduction - If you have any usage issues, please Google them yourself
Simulated tree-planting activities, write a java application, in the main thread to create three threads: " dig Pits," " planted trees" , " water" * achieve* their collaboration between the requirements of " water" thread possession immediately after the CPU resources, waiting for " planted trees" End of thread tree planting can begin watering,* and " planted trees" threads share CPU resources while waiting after the " dig Pits" thread before you start digging End Pits* planted saplings on the thread interaction information can be prompted on the screen* use the join () method to achieve interactive thread* /