EPAM Systems interview question

Difference between synchronized and Lock