Junilu Lacar wrote:Read the fine print on that page, below the code example:
Oracle wrote:because the variable initializer for i uses the class method peek to access the value of the variable j before j has been initialized by its variable initializer, at which point it still has its default value (ยง4.12.5).
but here peek dont know about j and its type and its declaration . if it know about its declaration than it shoud know that it have a value 1.not zero .