UST Interview Question

Write a code on method overriding