Why is it okay to declare final local variables (within methods) without initializing them but not to declare final fields without initializing those?
public class VariableUsingFinal {
//final int a; it won't take without intialization
final int a = 10;
public void method(){
final int b; // it takes without intialization
}
}