????3???????start() ??????run() ??????????
????1??start()????
????????start()???????????????????????????????????????????????п?????У????cpu???????????????JVM??????????run()??????????????run()?????????н???????????????
????2??run()????
????run()???????????????????????????????run()???????????????????????????????????run()?????????????????run()????????????????У????????????????????????????
???????????start()???????????????μ??????????μ??????????run()??????????????run()????????????????run()???????????????????С?
????4.???????н??
public static void main(String[] args)
{
Thread thread = new Thread(new Runnable()
{
//?????Runnable????run()????
@Override
public void run()
{
System.out.println("Runnable:" + Thread.currentThread().getName());
}
})
{
//?????Thread??  ????????Thread???run()????
@Override
public void run()
{
System.out.println("Thread:" + Thread.currentThread().getName());
}
};
thread.start();
}
???????е??????

???????Thread??????????????run()????????????????????run()?????????????run()??????????е???????????????run()??????