newarray


Description: create array
Types must be only: boolean, byte, char, double, int, short, float, or long.

Stack

Before After
size of array array reference

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.