80,362
社区成员
发帖
与我相关
我的任务
分享
package com.hw.hello;
/**
* Created by admin on 2017/8/15.
*/
public class Hello {
public static void main(String [] args)
{
System.out.println("Hello Android, I'm Java!!!");
test();
}
private static void test() {
System.out.println("****** test ******");
new Thread() {
@Override
public void run() {
System.out.println("****** run ******");
super.run();
for (int i=0; i<10; i++) {
System.out.println("******** " + i + " ********");
}
}
}.start();
}
}