At this point, you can declare an integer-array variable, and can assign an integer array to that variable:
int durations []; durations = new int [4];
Alternatively, you can combine variable declaration and array creation:
*-- Declare *-- Create v v ---------------- ----------- int durations [] = new int [4];