title: How to read previous line by using bufferedReader
body: <p>I am making a some large project. In that I am stuck at one place. I am using the following code to read from the file:</p>
  
  <pre><code>String str = null;
  FileReader fr = new FileReader("H:\\Eclipse\\Emulator\\progin8085.txt");
  BufferedReader br = new BufferedReader(fr);
  str = br.readLine(); //using it in a loop from 0 to total_no_of_lines
  </code></pre>
  
  <p>Now I when I reached suppose at line 8(counting lines numbers while entering data to the file), I want to go back to line 3 or 4 or any and again want to read and execute each statement. How to read previous statements using BufferedReader only? If it is not possible, any other solution?</p>