Walmart Interview Question

Java locking, synchronization