UST interview question

Mainly on object oriented concepts