Explanation : Here the variable "i" defined in static initializer is local to that block only. The statements in the static initializers will be executed (only once) when the class is first created.