[code="java"]public class TestMitiThread1 implements Runnable {
public static void main(String[] args) {
TestMitiThread1 test = new TestMitiThread1();
System.out.println(test); //TestMitiThread1@c17164
Thread thread1 = new Thread(test);
System.out.println(thread1); //Thread[Thread-0,5,main]
}
public void run() {
}
}[/code]
打印对象不应该是引用吗?怎么Thread和另外一个不一样呢?我看Thread.java里面就一个private void init,这是什么原因恩?