title: Long string concatenation problem in java?
body: <p>When I am trying to concatenate strings in Java like so:</p>
  
  <pre><code>COsavedform = vtd + "," + stricode + "," + striname+ "," 
              + striqty + "," + strirate + "," + striamt;
  </code></pre>
  
  <p>every variable containing some String Value and returns correct value of <code>COsavedform</code> but when I add something more to the same <code>COsavedform</code> like..</p>
  
  <pre><code>COsavedform = vtd+","+ccode.getText()+","+striqty 
              + "," + strirate + "," + striamt+","+mode+",Customer";
  </code></pre>
  
  <p><code>mode</code> is also a string variable. Then it returns only <code>COsavedform=","+mode+",Customer"</code>, only not the entire things.
  Problem part of that full code_--</p>
  
  <pre><code>        System.out.println("striname:"+striname);
          System.out.println("stricode:"+stricode);
          System.out.println("striqty:"+striqty);
          System.out.println("strirate:"+strirate);
          System.out.println("striamt"+striamt);
          System.out.println("ccode"+ccode.getText());
          System.out.println("mode"+mode);
                  String Csavedform = vtd + "," + stricode + "," + striname+ "," + striqty + "," + strirate + "," + striamt;
                  System.out.println("CSaved::"+Csavedform);
                  //System.out.println("COSaved::"+COsavedform);
                  String Isavedform = vtd+","+ccode.getText()+","+striqty+","+strirate+","+striamt+","+mode+",Customer";
                  System.out.println("Item savedforitem::"+Isavedform);
                  ```
  Output Generated::
  vdt:31/12/2019
  striname:Kazu
  stricode:kazu
  striqty:1.0
  strirate:1000.0
  striamt1000.0
  ccode0001
  modePending
  CSaved::31/12/2019,kazu,Kazu,1.0,1000.0,1000.0
  ,Pending,Customer
  
  
  
  Output Expected::
  vdt:31/12/2019
  striname:Kazu
  stricode:kazu
  striqty:1.0
  strirate:1000.0
  striamt1000.0
  ccode0001
  modePending
  CSaved::31/12/2019,kazu,Kazu,1.0,1000.0,1000.0
  Item savedforitem::31/12/2019,0001,1.0,1000.0,1000.0,Pending,Customer
  </code></pre>