?????????????????????????Runnable???????????????????
????Runnable myRunnable = new Runnable(){
????public void run(){
????System.out.println("Runnable running");
????}
????}
????Thread thread = new Thread(myRunnable);
????thread.start();
?????????????????Runnable????
????????????????????ò???????????????????????????????????????????????????Runnable????????????????????????Ч??????????Runnable?????????????????????μ????????????У??????????г???????????????????????Thread????????????????Щ??
????????????????????Runnable????Thread???????????????磬?????Thread??????????????ж???????Runnable??????????????????????????
????????????????run()????????start()????
??????????????????????????????????????????run()????????start()???????????????
????Thread newThread = new Thread(MyRunnable());
????newThread.run();  //should be start();
?????????????о???????????????run()???????????????????????????????????run()???????????????????????????е????????????????????????????????????????????д???????????е????????????????????run()???????????????????start??????
?????????
?????????????????????????????????????????????????????????????????磺????ж?????д??System.out?????????????????????????????????????????????????£?      ??????????????New Thread
????MyRunnable runnable = new MyRunnable();
????Thread thread = new Thread(runnable?? "New Thread");
????thread.start();
????System.out.println(thread.getName());
?????????????????MyRunnable????Thread??????????MyRunnable?????getName()????????????????·?????????????????
????Thread.currentThread();
??????????????′??????????????????????????????????main    ????????????????????
????String threadName = Thread.currentThread().getName();
???????????????
?????????????СС?????????????????main()??????????????????JVM???????????10???????????1~10??????????????????????????
????public class ThreadExample {
????public static void main(String[] args){
????System.out.println(Thread.currentThread().getName());
????for(int i=0; i<10; i++){
????new Thread("" + i){
????public void run(){
????System.out.println("Thread: " + getName() + "running");
????}
????}.start();
????}
????}
????}
??????????????????????????????????????????е????????????????????1???????????????????????????????????????????????????????????ж????????Jvm????????????????????????????????????????????????μ??