XYZ Interview Question

Technical question on oops dbms