fork download
  1. import java.util.Arrays;
  2. public class Main {
  3. // MethodExample
  4.  
  5. public static void main (String[] args) {
  6. int[] array = new int[10];
  7. System.out.println(Arrays.toString(array));
  8. }
  9. }
  10.  
Success #stdin #stdout 0.11s 54744KB
stdin
Standard input is empty
stdout
[0, 0, 0, 0, 0, 0, 0, 0, 0, 0]