标签:style blog color java 2014 art ar 代码
环境是jdk8
代码如下:
package memTest; /** * Created by PC on 2014/8/5. */ public class LambdaOne { public static void test(){ new Thread(()-> System.out.print("hi") ).start(); } public static void main(String[] args) { new LambdaOne().test(); } }
java8 lambda表达式初接触,布布扣,bubuko.com
标签:style blog color java 2014 art ar 代码
原文地址:http://www.cnblogs.com/acehalo/p/3893402.html