2012年8月21日

摘要: 查看一个方法被其他谁引用。选中该方法名,右键referrences 选择projectnew Thread( new Runnable() { public void run() { System.out.println("Runnable_run"); } }){ public void run() { System.out.println("thread_run"); }}.start();在这个线程中,到底执行的是哪个run方法呢?首先就是普通的new Thread(),这时程序会去看看自己的run方法。如果没有找到自己的run方法,就会调用父类的 阅读全文
posted @ 2012-08-21 00:49 lightman_21 阅读(176) 评论(0) 推荐(0)

导航