Genetec interview question

question about OOP and API calls