Barclays interview question

Core java , frameworks.multithreading