Why does a Try/Catch block create new variable scope?
Why are Objects created within the try/catch block not in scope with the rest of the method? They are. Variables declared within the try/catch block are not in scope in the containing block, for the same reason that all other variable declarations are local to the scope in which they occur: That’s how the specification … Read more