Pregunta de entrevista de IBM

How does Scope variable work in Java