1
votes

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

1 Answers