Infosys interview question

Basic programming concepts in languages like C++, jAVA.