Method overloading

It’s having different methods with the same name but with different inputs parameters. And when you call them it will run the method that matches with the input parameters given.

Leave a comment

Create a website or blog at WordPress.com

Up ↑