UKG interview question

Basic object-oriented principles