CADS Software Interview Question

basic oops concepts