Guest User

Untitled

a guest
Mar 23rd, 2018
75
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.37 KB | None | 0 0
  1. public class Main{
  2.  
  3. public static ArrayList<Card> cards = new ArrayList<Card>();
  4.  
  5. }
  6.  
  7. Main.cards.add(new Card());
  8.  
  9. public class Card{
  10.  
  11. public static ArrayList list;
  12.  
  13. (...)
  14.  
  15. }
  16.  
  17. Card cards = new Card();
  18.  
  19. cards.list();
  20.  
  21. public class Card{
  22.  
  23. public static ArrayList<Card> list = new ArrayList<>();
  24.  
  25. //The rest of your code: methods, interfaces, etc.
  26.  
  27. }
Add Comment
Please, Sign In to add comment