Gilad Bracha, Neal Gafter, James Gosling and Peter von der Ah√© have written a proposal to include ‘closures’, a feature common in dynamic languages, in the Java 1.7 release.
Closures allow you to refer to blocks of code as a variable and pass references to them between methods.
Read more in Dejan Bosanac’s blog here.