0
The ultimate java keyword for variables means it will only receive one value once, right?
If I have several variables in a function and I know that they should not receive any value later it is good to declare them as "final"?
void foo() {
final int a = 0;
// executa alguma coisa
final int b = 0;
// ...
final String a = "a";
}
Will this statement as the end make any important difference in compiled code? Will gain/lose performance?