simplified ZeroLengthArray.java