Page 1 of 1

About Question enthuware.ocajp.i.v7.2.1229 :

Posted: Fri Oct 18, 2013 2:37 am
by mbrichmo
The explanation of the 4th option states "...while creating multidimensional arrays, the length of the last dimension can be left unspecified." When I test it with 1.7, the length of multiple dimensions can be left unspecified, as long as no other dimension is specified after it. For example

Code: Select all

int[][][] a = new int[2][][];
is valid.

Re: About Question enthuware.ocajp.i.v7.2.1229 :

Posted: Fri Oct 18, 2013 6:24 am
by admin
You are right. This has now been update.

thank you for your feedback,
Paul.