Arrays

Marcel supports Java arrays and has a syntax to specify array values.

Create arrays with the square brackets.

int[] ints = [1, 2, 3, 4]

Note that you can also use this syntax to create collections.