PayPal interview question

oops , protocol oriented programming