title: Should I use a static list for my inventory system?
body: <p>I'm developing a MilkTea Inventory and Ordering System in which I've already created a MilkTea class for my MilkTea objects. Now, I am planning to add all my MilkTea objects to an ArrayList. My system should be able to add, edit, display and delete Milktea as well as order MilkTeas. Now, my problem is determining the program design I should implement. Should I make the array list for my MilkTea, <strong><em>static</em></strong>? </p>
  
  <ul>
  <li>My array list can be changed overtime. </li>
  <li>My array list for milkteas will be also accessed on other class related to ordering.</li>
  <li>My array list is not immutable.</li>
  </ul>
  
  <p><em>So far, this is my class for adding, editing, deleting and displaying MilkTeas:</em> </p>
  
  <pre><code>package inventory;
  
  import java.util.ArrayList;
  
  public class MilkTeaList {
  
      public ArrayList&lt;MilkTea&gt; list = new ArrayList();
  
      public void addMilkTea(String flavorName,String[] sizes, double[] prices, int stock) {
          list.add(new MilkTea(flavorName, sizes, prices, stock));
      }
  
      public ArrayList&lt;MilkTea&gt; getList() {
          return list;
      }
  }
  
  
  </code></pre>