Infosys interview question

Oops concepts, multithreading, basic Java coding