arraylength
Stack
Before
Description
After
arrayref
length
...
...
Removes arrayref (a reference to an array) from the stack and replaces it with the length of the array (an int). For multi-dimensional arrays, the length of the first dimension is returned.
Exceptions
NullPointerException - arrayref is null.
Bytecode
Type
Description
u1
arraylength
opcode = 0xBE(190)