Pergunta de entrevista da empresa Decimal Technologies

Java code to reverse a sentance and a word.