Hi friends,
This is regarding synchronization in Thread. If a block or method is synchronized, which object is said to be synchronization?
ramjeev
-2
Junior Poster in Training
Recommended Answers
Jump to Postas per my knowledge..
it may be any class's object...
synchronize(object)
{
}object may be current class or any other class that need to run
synchronously with current class...
Jump to Postthis will be the object as default...
if you got the point...
mark it resolved..
All 8 Replies
musthafa.aj
6
Posting Whiz
ramjeev
-2
Junior Poster in Training
musthafa.aj
6
Posting Whiz
ramjeev
-2
Junior Poster in Training
JamesCherrill
4,733
Most Valuable Poster
Team Colleague
Featured Poster
ramjeev
-2
Junior Poster in Training
JamesCherrill
4,733
Most Valuable Poster
Team Colleague
Featured Poster
ramjeev
-2
Junior Poster in Training
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.