Barclays interview question

Java OOP and Multithreading Discus optimisation for problems in the online assessment