Infosys BPM interview question

Java coding Reverse a string Selenium code