On 2012-03-01, at 3:37 PM, Reinier Zwitserloot wrote:

> On Thursday, March 1, 2012 12:20:26 PM UTC+1, KWright wrote:
> I never really had a big problem with String being final, although the claims 
> that it was for security reasons seem a bit weak given that strings are also 
> immutable.
> 
> 
> If String wasn't final, it would obviously not be immutable, duh.


I can protect the underlying char[] without making the class final. Making the 
class final kills all chance of extending which denies developers of the tools 
that OO brings to the table.

Regards,
Kirk

-- 
You received this message because you are subscribed to the Google Groups "The 
Java Posse" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/javaposse?hl=en.

Reply via email to