IQVIA interview question

write a java program to reverse a String?