Cognizant interview question

OOPS Question DBMS SQL an