Originally posted by Erap Estrada:
I read somewhere that it is not advisable to have a new string declaration inside a for-each loop for performance issue. It's because of the String pooling.
But I can't remember the clear explanation behind it. Can anyone please refresh my memory.
Thanks!