title: Boolean set to true in the Constructor
body: <p>For my first constructor, I used the parameters given to initialise the instance variables and for my second constructor I need to set all my booleans to true and this is what I have so far. </p>
  
  <p>How do I fix the constructors below? Because I know there’s something wrong with it.</p>
  
  <p>Thank you :)</p>
  
  <p>public class Try {</p>
  
  <pre><code>private boolean a;
  private boolean b;
  private boolean c;
  private boolean d;
  
  
  public Try (boolean a, boolean b boolean c, boolean d) {      
      this.a=a;
      this.b=b;
      this.c=c;
      this.d=d;
  }
  
  
  public Try() {
      boolean a = true;
      boolean b = true;
      boolean c = true;
      boolean d = true;
  
  }
  </code></pre>