Brevo interview question

Basic oops concept