Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
ben0x539
· 14y ago · 0 comments
A class being final means that you can't derive from it in Java, not that instances of the class are immutable.
Comments
[–]
cashew
14y ago
To ensure immutability of a type in Java, you typically need to prevent it from being extended.