摘要:
public static void main(String[] args) {Runner1 r1 = new Runner1();Thread t = new Thread(r1);t.start();try {Thread.sleep(10000);} catch (InterruptedEx... 阅读全文
摘要:
public static void main(String[] args) {Runner1 r1 = new Runner1();Thread t = new Thread(r1);t.start();for (int i = 0; i "+i);}}//Runner1实现Runable接口cl... 阅读全文