例10.2 public class multiThreadexample2t public static void main(String [args) Thread tl=new Thread (new CustomThreadc"a")) Thread t2=new Thread(new CustomThread(b); t1.star(0;∥启动线程A t2. start0;∥动线程B G carre例10.2 public class MultiThreadExample2{ public static void main(String []args){ Thread t1=new Thread(new CustomThread("A")); Thread t2=new Thread(new CustomThread("B")); t1.start(); //启动线程A t2.start(); //启动线程B } }