RBC interview question

Closures in Java