What should default interfaces be for?

Brian Goetz brian.goetz at oracle.com
Thu Mar 15 17:11:30 PDT 2012


> However, keep in mind that the goal is not "add traits to Java", and not only is that out of scope for Lambda, but is simply impractical to consider as a deliverable for Java 8.  And, realistically, there are a lot of decisions that were already made in the past (such as the fact that the default for interfaces is that methods are public and fields are private and final) that make it far more difficult to "take it all the way".  So it is quite likely that where we are

oops, I meant "static and final."  




More information about the lambda-dev mailing list