Theatro Interview Question

java program to reverse a string