Ksolves interview question

Java oops concept. Multithreading Exception