ZenQ Interview Question

oops concepts multithreading