Hi Gupta thanks for your reply.Can you explain it me clearly please
Joined: Jul 23, 2007
You are creating the anonamyous class which is the local inner class (local because it is inside method, inner because inside another class) and local inner class can access only final variables of the method in which they are declared.
Now its clear??
If its not than please tell me, whichpart you not getting?