I was wondering if anyone can tell me how to understand the bytecode

0: Load memory slot 0 into the stack (slot 0 is usually “this” except in static methods)

1: invoke method referenced in constant pool #1 (The comment tells it is the default constructor of Object)

4: return

looks like the default constructor

Leave a Comment