Xoriant interview question

Selenium Java Collections OOPs Xpath Reverse string program