Phil
Phil
"I'm not back." - Bill Harding, Twister
SCJP 1.5
Phil
Originally posted by Keith Lynn:
I checked in the JLS. It states that String concatenation will result in a new object being created if one of the operands is a non constant. constant Strings are String literals.
---------------------------------------------------------------
Everything has got its own deadline including one's EGO!
[CodeBarn] [Java Concepts-easily] [Corey's articles] [SCJP-SUN] [Servlet Examples] [Java Beginners FAQ] [Sun-Java Tutorials] [Java Coding Guidelines]
"Know where to find the solution and how to use it - that's the secret of success."
Regards<br /> <br />Mohammed Yousuff M N <br /> <br />Try NOT to Become a man of SUCCESS, BUT Try to Become a man of VALUE..
Don't get me started about those stupid light bulbs. |