资讯

System.out.println ("stop 2??"+ thread.interrupted); 来判断thread对象所代表的线程是否停止,但从控制台打印的结果来看,线程并未停止,这也证明了interrupted方法的解释,测试当前线程是否已经中断。