aconst_null : push null : index : visitInsn()

Description
Pushes the special null object reference onto the 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.
See also
bipush sipush ldc ldc_w ldc2_w iconst_m1 iconst_n lconst_l fconst_f dconst_d
Stack
Before After
... null
...
Bytecode
Type Description
u1 aconst_null opcode = 0x01 (1)