ZenQ interview question

oops concepts multithreading