posted 16 years ago
Can any one explain me the use of 'final' variable?
eg: final int i=10;
What is the role of the keyword 'final'?
Also if I declare,
final Vector v v= new Vector(10);
Can I add elements to Vector now after declaring it with 'final'?
Thanks in advance,
Swapna