Many Java programmers, including my self, might have mistaken that the portion of code that initializes the static variables of a class called the static constructor. Why Not A Java Static Constructor? It is actually not a constructor that initializes the static variables' value. This is because static variables do not need to and can not be constructed as they are being … [Read more...]
You are here: Home / Archives for static initializer