One Java Tip: “And That’s (not) Final!”
August 2, 2007 — Vladimir Drndarski
Something to watch out for with initialization code is that “final” has three different meanings depending on where it’s used, and it’s easy to get confused. For example, a common mistake is that setting a Collection to final doesn’t make the contents immutable, only the reference to the collection is immutable.
