下列哪个方法可用于创建一个可运行的类 A: publicclassXimplementsRunable{publicvoidrun(){......}} B: publicclassXimplementsThread{publicvoidrun(){......}} C: publicclassXimplementsThread{publicintrun(){......}} D: publicclassXimplementsRunable{protectedvoidrun(){......}}
下列哪个方法可用于创建一个可运行的类 A: publicclassXimplementsRunable{publicvoidrun(){......}} B: publicclassXimplementsThread{publicvoidrun(){......}} C: publicclassXimplementsThread{publicintrun(){......}} D: publicclassXimplementsRunable{protectedvoidrun(){......}}
1