When i tried to compile following program , it gives error " Can't Assign value to final variable this " Could you please explain it ?
public class ThisUsage {
int planets;
static int suns;
public void gaze() {
int i;
this = new ThisUsage(); // Compilation error comes here
}
}
Many Thanks and Regards,
Somesh Rathi
