标签:out over 执行 sys 参数 int err ++ stat
//1,定义一个类实现Runnablepublic class Appiumpage {
public static void main(String[] args) {
MyRunnerable mr = new MyRunnerable();
Thread t = new Thread(mr);
t.start();
for (int i = 0; i < 10000; i++) {
System.out.println("main()");
}
}
}
class MyRunnerable implements Runnable{
@Override
public void run() {
for (int i = 0; i < 10000; i++) {
System.out.println("runnerable()接口");
}
}
}
标签:out over 执行 sys 参数 int err ++ stat
原文地址:http://blog.51cto.com/357712148/2156205