五大状态 ###线程状态代码实例 package com.xzit.state; //观察测试线程的状态 public class TestState { public static void main(String[] args) throws InterruptedException { Thread thread = new Thread(