UST Interview Question

Oops comcept with example