LTM Limited interview question

Technical questions based on Java