Profit.co Interview Question

How can u implement A Overload function?