Infosys Interview Question

Write code for method overriding and overloading.