CGI interview question

Create an object with certain attributes and methods (setters, getters)