UST interview question

OOPS concepts, inheritance, constructors