Someone explain to me the differences between the following two statements?
A static final
variable initialized by a static
code block:
private static final String foo;
static { foo = "foo"; }
A static final
variable initialized by an assignment:
private static final String foo = "foo";