Barclays interview question

Java multi threading technical questions