aconst_null

Push null onto stack

Bytecode

Type Description
u1 aconst_null opcode = 0x01 (1)

Stack ... ==> ..., null

Description

Push the special null object reference onto the operand stack.  null is a reference to no object, and has no type (null can be cast to any reference type). null conventionally represents an invalid or uncreated object. Fields, variables and the elements of object reference arrays have null as their initial value.

Notes

The Java Virtual Machine does not mandate a concrete value for null.