Obviously it would!
. Isn't that just why we use the synchronized keyword.
Java uses the concept of monitor to achieve syncrhonization. Every time a
thread calls a method that is synchronized, it locks the object which the method belongs to. Since the whole object is blocked all methods and properties that belong to it would be in mutual exclusion.
Aldrin John.