What is the need for that ??
You need to define a method with some optional parameters......
So what will you do for that ???
Simple : Supply some default parameter in the method arguments. :)
Here is the example for that :
You need to define a method with some optional parameters......
So what will you do for that ???
Simple : Supply some default parameter in the method arguments. :)
Here is the example for that :