Agoda interview question

JVM, race conditions, locking mechanism and Concurrent data structures