Advertisement
Guest User

Untitled

a guest
Mar 24th, 2019
62
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.96 KB | None | 0 0
  1. package zad2;
  2.  
  3. import java.util.Arrays;
  4.  
  5. public class Main {
  6. static Integer[][] board = new Integer[][] {
  7. new Integer[] {2, null, null, 6, null, 7, 5, null, null},
  8. new Integer[] {null, null, null, null, null, null, null, 9, 6},
  9. new Integer[] {6, null, 7, null, null, 1, 3, null, null},
  10.  
  11. new Integer[] {null, 5, null, 7, 3, 2, null, null, null},
  12. new Integer[] {null, 7, null, null, null, null, null, 2, null},
  13. new Integer[] {null, null, null, 1, 8, 9, null, 7, null},
  14.  
  15. new Integer[] {null, null, 3, 5, null, null, 6, null, 4},
  16. new Integer[] {8, 4, null, null, null, null, null, null, null},
  17. new Integer[] {null, null, 5, 2, null, 6, null, null, 8}
  18. };
  19.  
  20. public static void main(String[] args) {
  21.  
  22. System.out.println(Arrays.deepToString(board));
  23.  
  24. }
  25. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement