public class lambdaTest6 {
public static void main(String[] args) {
new Thread(()->{
for(int i=0;i<100;i++) {
System.out.println("一边学习lambda");
}
}) .start();
new Thread(()-> System.out.println("一边学习奔溃")) .start();
}
}
转载请注明原文地址: https://mac.8miu.com/read-5383.html