Question from the Java test

A “synchronized” method