127.

prev next contents
aconst_null

push null

Jasmin Syntax
     aconst_null 
Stack

Before

After
...
null

...
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.

Bytecode

Type

Description
u1
aconst_null opcode = 0x01 (1)
See Also

bipush, sipush, ldc, ldc_w, ldc2_w, iconst_m1, iconst_<n>, lconst_<l>, fconst_<f>, dconst_<d>


prev next contents
Java Virtual Machine, by Jon Meyer and Troy Downing, O'Reilly Associates


Java Virtual Machine
Java Virtual Machine (Java Series)
ISBN: 1565921941
EAN: 2147483647
Year: 1996
Pages: 171

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net