Pergunta de entrevista da empresa Tata Consultancy Services

Do you know how to do a sum in java