|
[SOLVED] Non-synchronized instance method of an Object
Can a thread call a non-synchronized instance method of an Object when a synchronized method is being executed ?
I am having difficulty understanding this synchronization stuff.
Assume if a Class has two methods
- method1 is synchronized instance method
- method2 is a regualr instance method
So in this scenario, can there be two threads calling these two methods in parallel for the same instance?
__________________
Live life king size
[ To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. ]
|