fork download
  1. class Arrays {
  2. public static void main (String[] args) {
  3. int[] array1 = new int[] {1, 2, 3};
  4. System.out.println(java.util.Arrays.toString(array1));
  5. }
  6. }
Success #stdin #stdout 0.08s 47072KB
stdin
Standard input is empty
stdout
[1, 2, 3]