package com.xqx.test;
public class RunnableTest implements Runnable{
@Override
public void run() {
for(int i = 0;i<10;i++){
System.out.println(i);
}
}
public RunnableTest() {
super();
}
public static void main(String[] args) {
RunnableTest runnable = new RunnableTest();
Thread thread = new Thread(runnable);
thread.start();
System.out.println("等待中。。。");
System.out.println("执行完毕。。");
}
}
最近下载更多
cc900118 LV17
2021年9月17日
lironggang LV38
2019年7月3日
1792312911 LV17
2018年6月26日
15735184511 LV7
2018年1月4日
你高冷 LV12
2017年10月12日
248196826 LV13
2016年11月26日
好脑壳 LV16
2016年11月9日
xuexizhuanyong23 LV16
2016年9月4日

最近浏览