I have a derived class, and for some reason, I have to make two methods of this class synchronized to prevent them executing at the same time. One of the methods is an overridden method. Parent method is not synchronized.
Is it ok to synchronize the overridden method?