Exemplo n.º 1
0
 public BankAccountClass(ArrayList num, ArrayList acc, ArrayList bal, ArrayList txt)
 {
     this.name    = num;
     this.account = acc;
     this.balance = bal;
     this.text    = txt;
     for (int i = 0; i < n; i++)
     {
         name.Insert(i, dummy);
         account.Insert(i, dummy);
         balance.Insert(i, dummy);
         text.Insert(i, dummy);
     }
     //creating the constructors to link the arrays
     accountInfo  = new Account_info(name, account, balance, text);
     manipulation = new Manipulations(name, account, balance, text);
 }
Exemplo n.º 2
0
 public BankAccountClass(ArrayList num, ArrayList acc, ArrayList bal,ArrayList txt)
 {
     this.name = num;
     this.account = acc;
     this.balance = bal;
     this.text = txt;
     for (int i = 0; i < n; i++)
     {
         name.Insert(i, dummy);
         account.Insert(i, dummy);
         balance.Insert(i, dummy);
         text.Insert(i, dummy);
     }
     //creating the constructors to link the arrays
     accountInfo = new Account_info(name, account, balance, text);
     manipulation = new Manipulations(name, account, balance, text); 
     
 }