Infosys Interview Question

Volatile and synchronized keywords in Java