Right. I still miss that const and final are not really the same thing.
Initialization do not have to be expensive. Initialization of local objects to null is a good solution.
A similar...
Type: Posts; User: dabdi
Right. I still miss that const and final are not really the same thing.
Initialization do not have to be expensive. Initialization of local objects to null is a good solution.
A similar...
Actully it is better to initialize every time. The java compiler is weak in detecting all paths unless you make it so obvious
public class Test {
public static final int get() {
return 0;
}...
Local variables should always be initialized.
double af = 0.