Pregunta de entrevista de Gittigidiyor.com

How can you make a variable shared in a synchronised block in Java?