Tektronix interview question

some oops concepts