tags:

views:

69

answers:

1

Hi,

In Groovy, it appears that the following declarations are both legal

private final results = []
private final def results = []

Is there any difference between these two?

Thanks, Don

+1  A: 

See this question: Groovy: what’s the purpose of “def” in “def x = 0” ?

Leonel
@Leonel: Great! My next question is.. .what is the "variable script bindings"?
OscarRyz