@@ -0,0 +1,554 @@
+package java7.thread;%0A%0Apublic class InterruptionTest %7B%0A    %0A    public static void main(String%5B%5D args) throws InterruptedException %7B%0A        Thread t = new Thread(new Runnable() %7B%0A%0A            @Override%0A            public void run() %7B%0A                try %7B%0A                    Thread.sleep(1000);%0A                %7D catch (InterruptedException ex) %7B%0A                    System.out.println(ex.getMessage());%0A                %7D%0A            %7D%0A            %0A        %7D);%0A        t.start();%0A        %0A        Thread.sleep(500);%0A        t.interrupt();%0A    %7D%0A    %0A%7D%0A

add InterruptionTest.java