Bapa

Untitled

Mar 17th, 2017
94
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.25 KB | None | 0 0
  1. Test1[] t1 = new Test1[10];
  2. Test1[][] t2 = new Test1[5][];
  3. if (t1[0] == null)
  4. {
  5. t2[0] = new Test1[10]
  6. t2[1] = new Test1[10]
  7. t2[2] = new Test1[10]
  8. t2[3] = new Test1[10]
  9. t2[4] = new Test1[10]
  10. }
  11. System.out.println(t1[0]);
  12. System.out.println(t2[1][0]);
Advertisement
Add Comment
Please, Sign In to add comment