example program of method overloading