Ragu,
I am not sure of what exactly your question is...but go through this and see if it helps.
The value of Final variables cannot be changed once initialized.But they can be declared as "y" has been at //1 in your code(Add Leena's Explanation here

...easy for me). I have made a few modifications to your program...Do take a look.
Another point is...If you don't comment out either //*4* or //*5*, you'll get a compile-time error. To be more precise, having them both means that you are invoking //*5* after //*4* has been executed, thus trying to reset the value of y (which is illegal).
Cheers!
Shyam
[This message has been edited by Thomas Paul (edited September 07, 2001).]
[This message has been edited by Shyamsundar Gururaj (edited September 08, 2001).]