1.

Mention What Is The Role Of Closure And Listeners In Groovy?

Answer»

GROOVY does not support anonymous inner classes; it is POSSIBLE to determine action listeners inline through the means of CLOSURES. In Groovy, listeners CLOSURE are USED as a ListenerAdapter where only one method of interest is overridden.

Groovy does not support anonymous inner classes; it is possible to determine action listeners inline through the means of closures. In Groovy, listeners closure are used as a ListenerAdapter where only one method of interest is overridden.



Discussion

No Comment Found