Xoriant Interview Question

OOPS concepts, Reverse the string, Locators related questions.