multianewarray


Description: create n-dimensional array n = 2..255
Types I for integer, F for float, Ljava/lang/String for string, etc.

Stack

Before After
size of dimension n array reference
. . .       
size of dimension 2       
size of dimension 1       

Notes

You may leave undeclared the size of dimensions 1 .. ( n-1 ).

Exceptions

NegativeSizeException if any dimension is negative.
OutOfMemoryError if the array is too big.

Back to
Opcodes indexed by function.
Opcodes indexed by number.


back to opcode reference.