Genpact interview question

Oops concept and multiplication program