GlobalLogic interview question

OOP principles, Xpath, SQL, java coding problem etc