Hi,
What is the purpose of declaring a variable as final?
Thanks
Hi,
In Java when we declare a final variable as a variable which has been initialized to a fixed value which cannot be changed after initialization. Once a variable declare/create as final its value never changed.
For more Details: http://www.roseindia.net/java/jdk7/variables.shtml
thanks,
Ads