title: Does Java support default parameter values?
body: <p>I came across some Java code that had the following structure:</p>
  
  <pre><code>public MyParameterizedFunction(String param1, int param2)
  {
      this(param1, param2, false);
  }
  
  public MyParameterizedFunction(String param1, int param2, boolean param3)
  {
      //use all three parameters here
  }
  </code></pre>
  
  <p>I know that in C++ I can assign a parameter a default value.  For example:</p>
  
  <pre><code>void MyParameterizedFunction(String param1, int param2, bool param3=false);
  </code></pre>
  
  <p>Does Java support this kind of syntax?  Are there any reasons why this two step syntax is preferable?</p>