<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Java String Concatenation</title>
	<atom:link href="http://javapapers.com/core-java/java-string-concatenation/feed/" rel="self" type="application/rss+xml" />
	<link>http://javapapers.com/core-java/java-string-concatenation/</link>
	<description>BLOG on core java, servlets, JSP, design patterns interview questions with quality answers, source code and discussions.</description>
	<lastBuildDate>Tue, 07 Sep 2010 14:43:42 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Anonymous</title>
		<link>http://javapapers.com/core-java/java-string-concatenation/comment-page-1/#comment-1987</link>
		<dc:creator>Anonymous</dc:creator>
		<pubDate>Wed, 25 Aug 2010 09:47:37 +0000</pubDate>
		<guid isPermaLink="false">http://javapapers.com/?p=222#comment-1987</guid>
		<description>MJT is right! 
I modified your code with his hints in mind. 
The values I received were 13407 and 9507 respectively!</description>
		<content:encoded><![CDATA[<p>MJT is right!<br />
I modified your code with his hints in mind.<br />
The values I received were 13407 and 9507 respectively!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Oleg</title>
		<link>http://javapapers.com/core-java/java-string-concatenation/comment-page-1/#comment-1695</link>
		<dc:creator>Oleg</dc:creator>
		<pubDate>Thu, 08 Jul 2010 11:23:38 +0000</pubDate>
		<guid isPermaLink="false">http://javapapers.com/?p=222#comment-1695</guid>
		<description>I think this artice misses the point about using multiple + in a single expression.
For example 
String str = &quot;This &quot; + is +&quot; a dynamic&quot; + string;
Uses a single StringBuilder object behind the scene and is there for is as effective as using it explicitly, e.g.

StringBuilder sb = new StringBuilder();
sb.append(&quot;This &quot;).append(is)
   .append(&quot; a dynamic&quot;).append(string);
String str = sb.toString();

Don&#039;t be surprised that because StringBuffer implementation is slower than that of StringBuilder, the expression which uses + is faster than using a StringBuffer explicitly (quite common in pre 1.5 java code).

It&#039;s easy to write a tiny test class to prove it.</description>
		<content:encoded><![CDATA[<p>I think this artice misses the point about using multiple + in a single expression.<br />
For example<br />
String str = &#8220;This &#8221; + is +&#8221; a dynamic&#8221; + string;<br />
Uses a single StringBuilder object behind the scene and is there for is as effective as using it explicitly, e.g.</p>
<p>StringBuilder sb = new StringBuilder();<br />
sb.append(&#8220;This &#8220;).append(is)<br />
   .append(&#8221; a dynamic&#8221;).append(string);<br />
String str = sb.toString();</p>
<p>Don&#8217;t be surprised that because StringBuffer implementation is slower than that of StringBuilder, the expression which uses + is faster than using a StringBuffer explicitly (quite common in pre 1.5 java code).</p>
<p>It&#8217;s easy to write a tiny test class to prove it.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Joe</title>
		<link>http://javapapers.com/core-java/java-string-concatenation/comment-page-1/#comment-1619</link>
		<dc:creator>Joe</dc:creator>
		<pubDate>Thu, 01 Jul 2010 17:59:55 +0000</pubDate>
		<guid isPermaLink="false">http://javapapers.com/?p=222#comment-1619</guid>
		<description>Thank you all. @Soumik - I am planning to write on Threads very soon.</description>
		<content:encoded><![CDATA[<p>Thank you all. @Soumik &#8211; I am planning to write on Threads very soon.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Soumik</title>
		<link>http://javapapers.com/core-java/java-string-concatenation/comment-page-1/#comment-1614</link>
		<dc:creator>Soumik</dc:creator>
		<pubDate>Thu, 01 Jul 2010 14:00:42 +0000</pubDate>
		<guid isPermaLink="false">http://javapapers.com/?p=222#comment-1614</guid>
		<description>HI your blog is great undoubtedly. It would br of better help for developers like me if u post a bit more explanations for Threads</description>
		<content:encoded><![CDATA[<p>HI your blog is great undoubtedly. It would br of better help for developers like me if u post a bit more explanations for Threads</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: guru</title>
		<link>http://javapapers.com/core-java/java-string-concatenation/comment-page-1/#comment-1509</link>
		<dc:creator>guru</dc:creator>
		<pubDate>Tue, 15 Jun 2010 15:23:36 +0000</pubDate>
		<guid isPermaLink="false">http://javapapers.com/?p=222#comment-1509</guid>
		<description>such amazing information.. its a real treat for all java developers. thanks.</description>
		<content:encoded><![CDATA[<p>such amazing information.. its a real treat for all java developers. thanks.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Vishal</title>
		<link>http://javapapers.com/core-java/java-string-concatenation/comment-page-1/#comment-1505</link>
		<dc:creator>Vishal</dc:creator>
		<pubDate>Tue, 15 Jun 2010 09:51:43 +0000</pubDate>
		<guid isPermaLink="false">http://javapapers.com/?p=222#comment-1505</guid>
		<description>Great work man !!!</description>
		<content:encoded><![CDATA[<p>Great work man !!!</p>
]]></content:encoded>
	</item>
</channel>
</rss>
