Examples
Examples here on how to construct and initialize arrays.
//Declare and initialize primitive array on one line
int[] nums = {10, 20, 30, 40};

//Reinitialize an array like this:
nums = new int[] {2, 3, 5, 7};

//Declare and init array of booleans
boolean[] votes = {true, true, false, false, false, true, false, true};