Advertisement
Darker666

Untitled

Apr 10th, 2017
143
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.37 KB | None | 0 0
  1. public static void main(String[] args) {
  2.  
  3. Tree t = new TreeImpl();
  4. int[] array = null;
  5. for(int i=0; i<11; ++i) {
  6. array = new int[i];
  7. for(int q=0; q<array.length; ++q) {
  8. array[q] = q+1;
  9. }
  10. t.setTree(array);
  11. System.out.println(t.toString()+"\n");
  12. }
  13. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement