WAP in java to accept a string and display the same in reverse order Example: input: He is my brother output: brother my is He