Qualcomm Interview Question

Not anything too difficult, know some object-oriented basics