Tom Blough<br /> <blockquote><font size="1" face="Verdana, Arial">quote:</font><hr>Cum catapultae proscriptae erunt tum soli proscripti catapultas habebunt.<hr></blockquote>
Tom Blough<br /> <blockquote><font size="1" face="Verdana, Arial">quote:</font><hr>Cum catapultae proscriptae erunt tum soli proscripti catapultas habebunt.<hr></blockquote>
Tony Morris
Java Q&A (FAQ, Trivia)
Originally posted by Tom Blough:
The soul is dyed the color of its thoughts. Think only on those things that are in line with your principles and can bear the light of day. The content of your character is your choice. Day by day, what you do is who you become. Your integrity is your destiny - it is the light that guides your way. - Heraclitus
Originally posted by Stefan Wagner:
If the Strings aren't compile time constants, this is equivalent to
I don't think so.
String1+String2+String3 is evaluated first, which is creating implizit new Strings first (String1+String2), ((String1+String2)+String3), before StringBuffer.append is called for that generated new String.
[ August 19, 2005: Message edited by: Stefan Wagner ][/QB]
Originally posted by Ronnie Ho:
I think the compiler automatically translates the + operator into StringBuffer.append() even before the code is executed by the JVM execution engine. So, the compiler indeed interprets
AS
[/QB]
The soul is dyed the color of its thoughts. Think only on those things that are in line with your principles and can bear the light of day. The content of your character is your choice. Day by day, what you do is who you become. Your integrity is your destiny - it is the light that guides your way. - Heraclitus
Tony Morris
Java Q&A (FAQ, Trivia)
Originally posted by Tony Morris:
the 1.5 compiler doesn't
The soul is dyed the color of its thoughts. Think only on those things that are in line with your principles and can bear the light of day. The content of your character is your choice. Day by day, what you do is who you become. Your integrity is your destiny - it is the light that guides your way. - Heraclitus
Tony Morris
Java Q&A (FAQ, Trivia)
Don't get me started about those stupid light bulbs. |