Pergunta de entrevista da empresa LTM Limited

java coding question and oops concepts.