fork download
  1. import java.util.Arrays;
  2.  
  3. class Main
  4. {
  5. public static void main (String[] args)
  6. {
  7. Object[] oj = new Object[1];
  8. oj[0] = new Object();
  9. Object[] ojoj = new Object[1];
  10. ojoj[0] = oj;
  11. Object[] ojojoj = new Object[1];
  12. ojojoj[0] = ojoj;
  13. System.out.println(Arrays.toString(ojojoj));
  14. }
  15. }
Success #stdin #stdout 0.03s 245632KB
stdin
Standard input is empty
stdout
[[Ljava.lang.Object;@19821f]