CTS Interview Question

Inheritance based oops question in any language.