closing an buffer reader is compulsory
<p>I am trying an example from 
<a href="http://www.roseindia.net/java/beginners/java-read-file-line-by-line.shtml" rel="nofollow">http://www.roseindia.net/java/beginners/java-read-file-line-by-line.shtml</a>
in the example the <code>BufferReader</code> is not closed is that necessary to close the <code>BufferReader</code>or not? Please explain.</p>

<pre><code>FileInputStream fstream = new FileInputStream("textfile.txt");
// Get the object of DataInputStream
DataInputStream in = new DataInputStream(fstream);
BufferedReader br = new BufferedReader(new InputStreamReader(in));
String strLine;
//Read File Line By Line
while ((strLine = br.readLine()) != null)   {
    // Print the content on the console
    System.out.println (strLine);
}
//Close the input stream
in.close();
</code></pre>
