Infosys interview question

Related to core java and mobile app dev