As the title says, what exactly is the difference between
public static String myString = "Hello World!";
and
public static String myString;
static {
myString = "Hello World";
}
is there any important difference other than the structure ?
See Question&Answers more detail:os