Question d’entretien chez LMAX Group

Describe how CAS can be used in java?