Thread.currentThread().interrupt(); System.out.println("线程是否停止1?="+Thread.interrupted()); System.out.println("线程是否停止2?="+Thread.interrupted()); System.out.println("end!"); } } public class Test1 { public static void main(String[] args) { try { Test2 thread=new Test2(); ...