KPMG Interview Question

Related to java development real time scenario