// This rule specifies where to place the array
// '[]'. Either at the type or at the name of the
// field.
// The 2nd one is a relict from C. It enhances
// readablity when you place the [] at the type.

// At the Type
public class CruiseShip
{
    // you see immideately that there
    // is an array of cabins.
    private Cabin[] allCabins;
    ...
}

// At the Name
public class CruiseShip
{
    // here you have to read to the end
    // of the line to have exact information.
    private Cabin allCabins[];
    ...
}