title: Write to Random Access File in Java without overwriting
body: <p>In a Random Access File, at a particular byte position, the new text to be inserted is overwritten. How do I modify the <code>write</code> method so that the new text is inserted between the existing values without overwriting?</p>
  
  <p>I know it is possible to shift but I 'know how the logic. Please help me with the logic</p>