Lambda Expression + Requirements to Java Classes and Interfaces

Brian Goetz brian.goetz at oracle.com
Sun Dec 5 08:41:35 PST 2010


Other than the fact that class is a keyword so this would not compile:

>> Is it possible to do something like:
>> AbstractClass class = #{System.out.println("abstract class")};
                  ^




More information about the lambda-dev mailing list