Backbase Interview Question

How thread security is done in Java