Frage im Vorstellungsgespräch bei Tata Consultancy Services

Write a program to reverse a string in Java.