Hexagon Interview Question

Oop characteristics. Implement method overloading in any language.