title: Break up a string literal over multiple lines
body: <p>Is there a way to break up a line of code so that it is read as continuous despite being on a new line in java?</p>
  
  <pre><code>public String toString() {
  
    return String.format("BankAccount[owner: %s, balance: %2$.2f,\
      interest rate: %3$.2f,", myCustomerName, myAccountBalance, myIntrestRate);
    }
  </code></pre>
  
  <p>The code above when I do this all on one line everything works dandy but when I try to do this on multiple lines it doesn't work. </p>
  
  <p>In python I know you use a \ to start typing on a new line but print as one line when executed. </p>
  
  <p>A Example in Python to clarify. In python this will print on one line using 
  a backslash or ():  </p>
  
  <pre><code>print('Oh, youre sure to do that, said the Cat,\
   if you only walk long enough.')
  </code></pre>
  
  <p>the User would see this as:</p>
  
  <pre><code>Oh, youre sure to do that, said the Cat, if you only walk long enough.
  </code></pre>
  
  <p>Is there similar ways to do this in java?? Thank you!</p>