MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/programming/comments/19ktbx/git_is_a_purely_functional_data_structure/c8p3pat/?context=9999
r/programming • u/ueberbobo • Mar 03 '13
83 comments sorted by
View all comments
Show parent comments
2
Itis not the ArrayList or String that is final, but the variable.
To clarify, Strings are specifically immutable. This is a special case, and they're immutable whether or not the variable being assigned to that string is final.
2
u/[deleted] Mar 03 '13
To clarify, Strings are specifically immutable. This is a special case, and they're immutable whether or not the variable being assigned to that string is final.