Advertisement
semsem_elazazy

Untitled

May 24th, 2022
42
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.82 KB | None | 0 0
  1. package package1;
  2.  
  3. import java.util.*;
  4. public class Main {
  5.       public static void main(String[] args) {
  6.          
  7.           int choise;
  8.           Account A = new Account ();
  9.           Transactions T = new Transactions();
  10.           ArrayList<CheckAccount> List1= new ArrayList<CheckAccount>();
  11.          
  12.            
  13.              
  14.               CheckAccount check1 = new CheckAccount(1,"Yasmeen");
  15.               CheckAccount check2 = new CheckAccount(2,"Mariem");
  16.               CheckAccount check3 = new CheckAccount(3,"Zeinab");
  17.               CheckAccount check4 = new CheckAccount(4,"Yomna");
  18.               CheckAccount check5 = new CheckAccount(5,"Yasmeen");
  19.              
  20.            
  21.               List1.add(check1);
  22.               List1.add(check2);
  23.               List1.add(check3);
  24.               List1.add(check4);
  25.               List1.add(check5);
  26.              
  27.                
  28.                
  29.          
  30.                  
  31.              }
  32.          
  33.            
  34.          
  35.       }
  36.      
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement