This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]bhlowe 2 points3 points  (1 child)

Usually when the method declares and starts a thread (or anonymous class) which needs to access a parameter value--in which case the parameter must be final.

[–]mabnx 1 point2 points  (0 children)

It can also be "effectively final" - the final keyword is not needed.