Pregunta de entrevista de Decimal Technologies

Java code to reverse a sentance and a word.