title: How to add values into an array list from other classes?
body: <p>Forgive me as I am still a newb to Java.I have 9 different classes.
  In my account driver i need to create a method load data, where I can put in some fake data.</p>
  
  <p>I cant seem to figure out how to enter the values for these as my constructors are:</p>
  
  <pre><code>public Account(Customer c,double b,Day d){
      cust = c;
      balance= b;
      dateOpened=d;
      }
  
  public Customer(String last, String first)
  {
      this.last = last;
      this.first=first;
      custNum = nextNum;
      nextNum++;
  }
  
  public Day(int yyyy, int m, int d) 
  {  year = yyyy;
    month = m;
    day = d;
    if (!isValid()) 
       throw new IllegalArgumentException();
  }
  
    public CheckingAccount(double mf,Customer c,double b,Day d){
      monthlyFee=mf;
  }
  
   public SavingsAccount(Customer c,double b,Day d,double i){
  
      intRate=i;
  
  
  }
  
   public SuperSavings(double mf,Customer c,double b,Day d,double m){
      minDeposit=m;
  
  
  }
  </code></pre>
  
  <p>and my AccountDriver:</p>
  
  <pre><code>import java.util.ArrayList;
  
  
  public class AccountDriver {
  
  public static void main(String[] args){
      ArrayList&lt;Customer&gt; c = new ArrayList&lt;Customer&gt;();
  ArrayList&lt;Account&gt; a = new ArrayList&lt;Account&gt;();
  ArrayList&lt;Day&gt; d = new ArrayList&lt;Day&gt;();
  
      loadData(c,a,d);
      print(a);
  }
  
  public static void loadData(ArrayList&lt;Customer&gt; c,ArrayList&lt;Account&gt; a, ArrayList&lt;Day&gt; d) {
  
      a.add(new Account(new Customer("Sam", "Jones"),45000,new Day(2012,12,4)));
  
  }
  
  private static void print(ArrayList&lt;Account&gt; s) {
      for (int i=0;i&lt;s.size();i++)
  System.out.println(s.get(i).toString());
  }
  </code></pre>
  
  <p>}</p>