Volansys Interview Question

basic oops concepts