Accenture interview question

OOPs , SQL and design patterns