title: Will closing a DataInputStream also close the FileInputStream?
body: <pre><code>FileInputStream fstream = new FileInputStream(someFile.getPath());
  DataInputStream in = new DataInputStream(fstream);
  </code></pre>
  
  <p>If i call <code>in.close()</code>, will it also close <code>fstream</code> ? My code is giving GC Exception as follows:</p>
  
  <p><strong>java.lang.OutOfMemoryError: GC overhead limit exceeded</strong></p>