Cognizant Interview Question

What is synchronization? Object level lock and class level lock?