title: Java NewLine "\n" not working in save to text file
body: <p>Here is my code:</p>
  
  <pre><code>public String display() {
      return "\n......................\nFixed Employee:\n" + 
             "Name: " + super.fullName() + 
             "\nSalary: " + salary() + 
             " tk\n......................";
  }
  </code></pre>
  
  <p>But when I'm invoking this method from main class, "\n" newLine not working. just showing one line output. Will you plz help to solve the problem?</p>
  
  <p>Thanks</p>