How do I define the constructor?
<pre><code>import java.io.File;
import java.io.InputStreamReader;
import java.io.BufferedReader;

public class Rec{
  public void txtMod(){
    File fileName = new File ("C:\\work\\imput.txt");
    BufferedReader in = new BufferedReader (new InputStreamReader(fileName));
    ...
  }
}
</code></pre>

<p><code>new InputStreamReader(fileName)</code> gets underlined with the following error: '<em>The constructor InputStreamReader(File) is undefined</em>'. How do I define it? Doesn't <code>new</code> define it?</p>
