> its just cant be done. u cant use final as a
> variable name because it's a java keyword. it will
> show an error when compiling
Yes i just tested a sample program and got following errors:
C:\temp>javac TestFinal.java
TestFinal.java:3: not a statement
String final = "final";
^
TestFinal.java:3: ';' expected
String final = "final";
^
TestFinal.java:4: illegal start of expression
System.out.println(final);
^
TestFinal.java:4: ')' expected
System.out.println(final);
^
4 errors