title: How remove the last brak line from the txt file with JAVA?
body: <p>I have a txt file as follows: </p>
  
  <pre class="lang-none prettyprint-override"><code>123
  156
  356
  &lt;--- line break  (How delete this?)
  </code></pre>
  
  <p>I need it like this:</p>
  
  <pre class="lang-none prettyprint-override"><code>123
  156
  356 &lt;- let that be my last record.
  </code></pre>