Static Instance And Local Variable Java