I like to know why Variables that are local to a method cannot be declared final. Is there any specific reason?
Does it mean are there no local constants in Java?
They can be declared final. Your actual problem lies somewhere else.