CGI interview question

Oops concepts and spring concepts