Final tells the compiler the value will never change, so the inner class is safe to get the value later or get the value now and use it later. I never remember to put it in until I see that compiler message.
A good question is never answered. It is not a bolt to be tightened into place but a seed to be planted and to bear more seed toward the hope of greening the landscape of the idea. John Ciardi
posted 11 years ago
I understand what "final" means, but I don't understand why I am allowed to put "final" within the parameter; I've never seen syntax like that before!
Surfs up space ponies, I'm making gravy without this lumpy, tiny ad: