Xoriant interview question

Difference between Regression and Retesting OOPS concepts from java locators in selenium