Aspire Systems Interview Question

oops concepts