How-to articles, tricks, and solutions about OPTIONAL-PARAMETERS

How do I use optional parameters in Java?

In Java, you can use method overloading to achieve the effect of optional parameters. Method overloading is the practice of having multiple methods with the same name but different parameter lists.