New Thread(new Runable) 括号里面加不加new Runable有什么区别的?
A. New Thread(){
Public voidrun(){
doStuff();
}
}
B. New Thread(){
Public voidstart(){
doStuff();
}
}
C. NewThread(){
Public voidstart(){
doStuff();
}
}
Run();
D. NewThread(){
Public voidrun(){
doStuff();
}
}
Start();
E. New Thread(new Runable){
Public voidrun(){
doStuff();
}
}
run();
F. New Thread(new Runable){
Public voidrun(){
doStuff();
}
}
start();
慕侠2389804
慕勒3428872
相关分类