Advertisement
Guest User

Untitled

a guest
Jun 19th, 2019
79
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.32 KB | None | 0 0
  1. int n = 1;
  2. ArrayList list = new ArrayList();
  3. list.add( n );
  4.  
  5. grid[ y ][ x ] = list.get(0);
  6.  
  7. grid[ y ][ x ] = (int) list.get(0);
  8.  
  9. found : java.lang.Object
  10. required: int
  11. grid[ y ][ x ] = (int)list.get(0);
  12. ^
  13.  
  14. ArrayList<Integer> list = new ArrayList<Integer>();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement