Infosys interview question

Languages - C++, Java