Click here to Skip to main content
15,664,823 members
Articles / General Programming / Threads

Tagged as


4 bookmarked

Threading in Java : A Look at Synchronized

Rate me:
Please Sign up or sign in to vote.
5.00/5 (1 vote)
19 Jun 2021CPOL2 min read
Meaning of synchronized keyword with a deeper look
This article tries to explain the meaning of keyword synchronized w.r.t. object as well as class level lock. The purpose of the exercise done in this article is to understand that a synchronized function internally uses an object level lock while a static synchronized function internally uses a class level lock for its entire code.


Daily Counts


This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

Written By
Software Developer (Senior)
India India
I am a Software engineer with around 7+ years of experience. Most of my experience is in Storage technology.

Comments and Discussions