constructor error , cannot find
<p>it says cannot find Constructor Person() in class person, but i have class person. heres my code</p>

<pre><code>public class Person{

    private String name;
    private int age;
    public String details;

    public Person(final String name, final int age){
        this.name = name;
        this.age = age;
    }
}
</code></pre>

<p>and the test person class</p>

<pre><code>public class TestPerson{
    public static void main(String args[]){
        int q;
        System.out.println(args.length + "objects created");
        for(q = 1; q &lt; args.length; q++){
            final Person p1 = new Person();
            for(int x = 0; x &lt; args[q].length(); x++){
                args[q].split(",");
                p1.setDetails(name, age);
                System.out.println(p1);
            }
        }
    }
}
</code></pre>
