Geecon Global Interview Question

basic of oops.