Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import java.util.ArrayList;
- public class Main {
- //psvm
- public static void main(String[] args) {
- User user1 = new User("Jan","Przykladowy",1 );
- Account account1 = new Account("12345678901234567890123456","1234","Jan",user1);
- User user2 = new User("Daniel", "Przyklad", 2);
- Account account2 = new Account("12345678900987654321123456","1213", "Daniel",user2);
- ArrayList<Account> list = new ArrayList<Account>();
- list.add(account1);
- list.add(account2);
- Bank bank1 = new Bank(3456,"PKO" , list);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement