class LambdaExpression { public void foo() { new ArrayList().forEach((x) -> System.out.println(x)); } }