Sunday, 24 April 2016
Can a thread call multiple synchronized methods on the object of which it hold the lock ?
Yes !
Once a thread acquires a lock in an object, it may call any other synchronized method of that same object using the lock that it already holds.
No comments:
Post a Comment
Note: only a member of this blog may post a comment.
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment
Note: only a member of this blog may post a comment.