void () { Runnable r = () -> { <warning descr="'return' is unnecessary as the last statement in a 'void' method">return</warning>; }; System.out.println(r); Callable<Integer> c = () -> { return 42; }; System.out.println(c); }