-3
是在Runnable中创建一个新线程的好习惯吗?这是使用可运行线程创建线程的gud实践吗?
public class ExampleThread Implements Runnable{
public void run() {
try {
//Some functions
}
catch (IOException e) {
}
new Thread() {
public void run()
// some functions
}}.start();
}
为什么我得到了downvotes? – Asthme 2014-10-03 10:48:18