Revolut Interview Question

volatile, synchronized(), atomic integer with example