What's wrong with this? Cannot find symbol. symbol - constructor
<pre><code>public MyLine(double x, double y)
{

   MyLine p1 = new MyLine();

   p1.x = x;

   p1.y = y;

}
</code></pre>

<p>That's my code</p>

<p>and the error I get is</p>

<pre><code>./MyLine.java:12: cannot find symbol

symbol  : constructor MyLine()

location: class MyLine

MyLine p1 = new MyLine();
</code></pre>
