In Synchronization, is it possible to access multiple threads at a time in java..

In my class i have 2 methods.first method is Synchronized method,and Second method i declared Some Statements are Synchronized Block.My Doubt is...Is it Possible to Access two different threads in Synchronized Method and block At a time.

Your Answer

If you synchronized the same class object using object level synchronization, it isn't possible.

Core Java

Didn't get the answer.
Contact people of Talent-Core Java directly by clicking here