why does the compiler give me error on 'line 2', but if I delete line 1, there's no compiler error?
------------------------------------
public class
Test extends A {
int y=1;
int a=6;
Test() {
super(); //line 1
this(6); //line 2
}
Test(int x) {
if ( x > y )
a = y*6;
else
a = y*9;
a++;
System.out.println(a);
}
public static void main(
String [] args) {
Test t = new Test();
}
}
class A{
A(){
System.out.println("OK");
}
}