Lambda表达式 1.简化实现Runnable 接口的匿名内部类 new Thread(()->{ System.out.println("匿名内部类创建线程"+Thread.currentThread().getName()); }).start(); 抽象方法只有一个,可以自动识别。