iKrux Interview Question

How do you handle synchronisation in Java?