title: How to create constructor with empty ArrayList?
body: <p>I wrote a constructors that can passes all the fields, including an Arraylist. I don't know what to do if I want constructors where I'm not passing the Arraylist and instead give it an empty Arraylist.</p>
  
  <p>For example I already wrote a Course class and now I'm writing a Student class. The student class contains an Arraylist. </p>
  
  <pre><code>class Student {
      String studentFirstName;
      String studentLastName;
      ArrayList&lt;Course&gt; studentSchedule = new ArrayList&lt;Course&gt;();
  
      // Constructors
      Student(String newFirstName,  String newLastName) {
          this.Student(newFirstName, newLastName, _______ ); //what to put in the blank?
      }
  
      Student(String newFirstName, String newLastName, ArrayList&lt;Course&gt; newSchedule) {
          this.studentFirstName = newFirstName;
          this.studentLastName = newLastName;
          this.studentSchedule = newSchedule;
      }
      .
      .
      .
  </code></pre>
  
  <p>I'm stuck here. Putting null in the blank does not work, I get compiler warning: The method Student(String, String, null) is undefined for the type Student Obviously I'm missing the point.</p>
  
  <p>How do I get the constructor to give me an empty Arraylist?</p>