This week's book giveaway is in the OCMJEA forum. We're giving away four copies of OCM Java EE 6 Enterprise Architect Exam Guide and have Paul Allen & Joseph Bambara on-line! See this thread for details.
"Closures may be 'bound' to variables within the scope where they are defined"
In addition to that, you can pass a closure as an argument to a method. Then that method can call your closure. This means you can give a method some block of code, and the method can execute that block of code.
I'd recommend reading the Formal Definition on the Groovy site. [ April 10, 2008: Message edited by: Josh Brown ]