title: unexpected error with overloaded constructor when calling this(...) in Java
body: <p>I have the error <code>call to this must be first statement in constructor</code> when compiling the program below. I think I made it correctly, what is the problem ? I tried two different compilers.</p>
  <pre><code>class Point{
  
     int x ;
     int y ;
  
     
     void Point (int x, int y){
        this.x = x ;
        this.y = y ; 
     }
     
     void Point(int z){
        this(z,z);
     }
  
  } 
  </code></pre>