IBM Interview Question

oops concepts, basics of SQL