in the following figure, while thread An executes the synchronized method of obj, thread B can execute other non-synchronized methods of obj
I have read several blogs on the Internet, and most of them say yes. But as I understand it, when thread A holds a lock on obj, thread B must block access to obj, until it acquires an object lock, right?