EPAM Systems Interview Question

In Google discussion I was asked for only String reversal in Java