-4

我尝试打印两个对象,MyThread t=new MyThread();打印 Thread[Thread-0,5,main] 并MyRunnable r=new MyRunnable();打印 Thread.MyRunnable@34cd54。

它有什么意义?

4

1 回答 1

1

What's significance of it?

Not much, Thread is a class which has a toString() methods and you Runnable is an interface which uses the default Object.toString()

于 2013-10-03T20:04:18.280 回答