CGI Interview Question

oops concepts