UST interview question

Basic concepts in OOPs