My constructor function is not found in main() : <p>I'm getting a for me inexplicable error:</p>

<pre><code>PageRankReader.java:19: error: cannot find symbol
        PageRankReader(args[0]);
        ^
  symbol:   method PageRankReader(String)
  location: class PageRankReader
1 error
</code></pre>

<p>Which I cannot understand because I've clearly defined the method signature at the top of the class.</p>

<pre><code>public class PageRankReader {

    public PageRankReader(String filename) {
        try {
            readPageRanks(filename);
        }catch (FileNotFoundException e) {
            System.err.println("File not found");
        }
    }
    public static void main(String[] args) {
        if( args.length != 0) {
            System.err.println("Please provide name of the pageranks file");
        }

        PageRankReader(args[0]);
    }
}
</code></pre>

<p>What's the reason for this error?</p>
