Last week, we had the author of TDD for a Shopping Website LiveProject. Friday at 11am Ranch time, Steven Solomon will be hosting a live TDD session just for us. See for the agenda and registration link
Consider i have 2 methods in a class, 1 is synchronized and other is not. If Thread A acquires lock on an instance and executing the synchronized method, can Thread B execute the non synchronized method on the same instance?
Yes the non-synchronized method can be invoked. Infact another synchronized method which requires locking some other instance than the first method is also invokable at the same time by a different thread.