how can we use "this" in constructor,rather we cant able to pass class reference variable as parameter in constructor.
like this:-
class ConsThis
{
int x;
ConsThis(ConsThis a,int x)
{
this.x=x;
}
public static void main(String...s)
{
ConsThis t=new ConsThis(t,10);
}
}