Overloading:Overloading refers to the ability to define mul…