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
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
See this question: Groovy: what’s the purpose of “def” in “def x = 0” ?