Advertisement
Darker666

Untitled

Apr 10th, 2017
112
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  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
RAW Paste Data Copied
Advertisement