匿名内部类的方法 创建多线程

 1.thread的

 2.runnable的

 

 第二种还可以简化

猜你喜欢

转载自www.cnblogs.com/wulinmiao/p/12188562.html