You are using this as a constructor call, e.g.
this(0,0,0);
would require a constructor with 3 integer arguments:
public class testt
{
int a;
int b;
int c;
public testt (){
this(0,0,0);
}
public testt(int a, int b, int c) {
this.a = a;
this.b = b;
this.c = c;
}
}
If you use this
as a parameter, you are passing this instance of the object into a method.
solved How to use “this” keyword as parameter?