TSS Consultancy interview question

Overriding example program in any programming language.