Yes, you can have two functions with same name and parameters of differet data types . These type of functions are called overloading function .