title: how to Add boolean array to a linked list?
body: <p>public boolean addSubClass(Week week, int startTime, int endTime, boolean[] weekNumber) {</p>
  
  <pre><code>    boolean result = false;
  
      boolean repeat = false; 
  
      if (repeat != true) {
          SubClass s = new SubClass(week);
          s.updateTime(startTime, endTime);
          s.updateTime(weekNumber);
          subClassList.addLast(s);
  
          result = true;
      }
      return result;
  }
  </code></pre>
  
  <p>situation: this is part of my code. I got 3 differnet startTime, endTime and weekNumber in my file, when I check for first startTime and endTime, these integers are added into the list successfully, but when I check for the weekNumber, it always get the Last one that on the list.
  question: can I add boolean array into the linked list??? </p>