What’s the difference between synchronized, volatile, and Lock in Java?

TechnicalTech lead javaJava Tech LeadSenior Java DeveloperSolution Architect