Difference between string.concat() and + operator
<blockquote>
  <p><strong>Possible Duplicate:</strong><br>
  <a href="http://stackoverflow.com/questions/693597/is-there-a-difference-between-string-concat-and-the-operator-in-java">Is there a difference between String concat and the + operator in Java?</a>  </p>
</blockquote>



<p>Is there any difference between:</p>

<pre><code>String A = "Hello";
String B = A.concat("Testing");
</code></pre>

<p>and</p>

<pre><code>String A = "Hello";
String B = A + "Testing";
</code></pre>

<p>Yes i know there ain't any difference in the output. Wanted to know if there is any technical difference. Thanks !</p>
